This action can sync an AUR package with Github release.
You should add to your secrets an SSH private key that match your key uploaded to your AUR account, so this action can commit and push to it.
Required The AUR package name you want to update.
Required The GitHub repo you want to sync with.
Required The username to use when creating the new commit.
Required The email to use when creating the new commit.
Required Your private key with access to AUR package.
A string that contains extra dependencies when building the AUR package, separated by space.
name: aur-sync
on:
schedule:
- cron: '0 0 * * *'
jobs:
aur-sync:
runs-on: ubuntu-latest
steps:
- name: Sync AUR package with Github release
uses: dbinary/[email protected]
with:
package_name: logism-evolution
github_repo: 'reds-heig/logisim-evolution'
commit_username: 'Github Action Bot'
commit_email: [email protected]
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
extra_dependencies: 'jre-openjdk'