From 771bf260c543f6ae7bdc34711f758fe1ee488eb9 Mon Sep 17 00:00:00 2001 From: pajlada Date: Sun, 14 Mar 2021 15:35:34 +0100 Subject: [PATCH] Add Arch Linux builder & AUR syncer workflow (#2499) --- .github/workflows/push-aur.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/push-aur.yml 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' }}