mirror-chatterino2/.github/workflows/push-aur.yml
James Upjohn 523e0c5ef4
ci: cancel previous runs on PR update (#3748)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2022-05-21 11:33:21 +02:00

27 lines
558 B
YAML

---
name: Build on Arch Linux
on:
push:
branches:
- master
pull_request:
concurrency:
group: build-archlinux-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Sync AUR package with current version
uses: pajlada/aur-sync-action@master
with:
package_name: chatterino2-git
commit_username: chatterino2-ci
commit_email: chatterino2-ci@pajlada.com
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
dry_run: true