Add Arch Linux builder & AUR syncer workflow (#2499)

This commit is contained in:
pajlada 2021-03-14 15:35:34 +01:00 committed by GitHub
parent 382462f465
commit 771bf260c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
.github/workflows/push-aur.yml vendored Normal file
View file

@ -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' }}