-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
actions: update i3stat-git aur package automatically
- Loading branch information
1 parent
fae154b
commit fae1e32
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
on: | ||
push: | ||
branches: [ "next" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
branches: [ "master", "next" ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
@@ -38,3 +40,19 @@ jobs: | |
- run: just setup | ||
- run: just build | ||
- run: DEBUG=1 just test | ||
|
||
release-aur-git: | ||
name: Update AUR(i3stat-git) | ||
needs: ['verify'] | ||
runs-on: ubuntu-latest | ||
# this should only run on pushes to `next`, not pull requests to it | ||
if: github.event_name == 'push' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: ssh://[email protected]/i3stat-git.git | ||
ssh-key: ${{ secrets.AUR_SSH_KEY }} | ||
ssh-known-hosts: ${{ env.SSH_KNOWN_HOSTS }} | ||
- uses: extractions/setup-just@v1 | ||
- run: just update | ||
- run: git push |