chore: Add arch runner

This commit is contained in:
Fabio Lenherr / DashieTM 2023-11-04 14:25:54 +01:00
parent fcec2c6401
commit 0310c2df7e
4 changed files with 24 additions and 3 deletions

21
.github/workflows/release-arch.yml vendored Normal file
View file

@ -0,0 +1,21 @@
on:
release:
types: [ created ]
jobs:
release:
runs-on: [self-hosted, arch]
steps:
- uses: actions/checkout@v3
- name: nightly-rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
- name: Build rust package
run: makepkg PKGBUILD
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
reset-0-0-x86_64.pkg.tar.zst

View file

@ -12,7 +12,7 @@ env:
jobs:
build:
runs-on: self-hosted
runs-on: [self-hosted, ubuntu]
steps:
- uses: actions/checkout@v3