diff --git a/.github/workflows/push-aur.yml b/.github/workflows/push-aur.yml new file mode 100644 index 000000000..249198e2e --- /dev/null +++ b/.github/workflows/push-aur.yml @@ -0,0 +1,22 @@ +--- +name: Build on Arch Linux + +on: + push: + branches: + - master + pull_request: + +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: ${{ github.ref != 'refs/heads/master' }}