Skip to content

Commit

Permalink
chore: Add arch runner
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Nov 4, 2023
1 parent fcec2c6 commit 0310c2d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release-arch.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
build:

runs-on: self-hosted
runs-on: [self-hosted, ubuntu]

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Maintainer: Fabio Lenherr <[email protected]>

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."
Expand Down
Binary file added reset-0-0-x86_64.pkg.tar.zst
Binary file not shown.

0 comments on commit 0310c2d

Please sign in to comment.