ACLauncher/.github/workflows/aur-publish.yml

39 lines
1.3 KiB
YAML

name: aur-publish
on:
repository_dispatch:
types: [aur-publish]
jobs:
aur-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish aclauncher AUR package
uses: ./.github/actions/publish-to-aur
with:
version: ${{ github.event.client_payload.version }}
workingDir: ./packaging/aur/aclauncher
packageName: aclauncher
aurUsername: ${{ secrets.AUR_USERNAME }}
aurEmail: ${{ secrets.AUR_EMAIL }}
aurSshPrivateKey: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
aurCommitMessage: Update to version ${{ github.event.client_payload.version }}
- name: Publish aclauncher-bin AUR package
uses: ./.github/actions/publish-to-aur
with:
version: ${{ github.event.client_payload.version }}
workingDir: ./packaging/aur/aclauncher-bin
packageName: aclauncher-bin
aurUsername: ${{ secrets.AUR_USERNAME }}
aurEmail: ${{ secrets.AUR_EMAIL }}
aurSshPrivateKey: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
aurCommitMessage: Update to version ${{ github.event.client_payload.version }}
- name: Commit changed files
uses: EndBug/add-and-commit@v9
with:
add: "packaging/aur/"
message: "chore: update aur packages"