diff --git a/.github/workflows/release-arch.yml b/.github/workflows/release-arch.yml new file mode 100644 index 0000000..d142b6d --- /dev/null +++ b/.github/workflows/release-arch.yml @@ -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 diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e6b7a44..485ef00 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,7 +12,7 @@ env: jobs: build: - runs-on: self-hosted + runs-on: [self-hosted, ubuntu] steps: - uses: actions/checkout@v3 diff --git a/PKGBUILD b/PKGBUILD index a661e3f..3b78fe6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Fabio Lenherr pkgname=reset -pkgver=0.1 -pkgrel=1 +pkgver=0 +pkgrel=0 arch=('x86_64') pkgdir="/usr/bin/${pkgname}" pkgdesc="A wip universal Linux settings application." diff --git a/reset-0-0-x86_64.pkg.tar.zst b/reset-0-0-x86_64.pkg.tar.zst new file mode 100644 index 0000000..a5403f8 Binary files /dev/null and b/reset-0-0-x86_64.pkg.tar.zst differ