Releases: TheWisker/aur-update-git
Releases · TheWisker/aur-update-git
First Release
AUR Update Git
Updates AUR git packages on push
Please do read the README.md
Usage
To use this GitHub Action you need to already have initialized the AUR repository and uploaded a first version.
The pkgbase must end in -git
for this action to work and to differentiate it from the release action which you can maintain with this action's twin AUR Update.
Example
name: AUR Update Git
on:
push:
branches:
- 'master'
permissions:
contents: write
jobs:
aur-update-git:
runs-on: ubuntu-latest
container:
image: archlinux
options: --privileged
steps:
- name: AUR Update Git
uses: TheWisker/aur-update-git@master
with:
aur_key: ${{ secrets.AUR_KEY }}
Parameters
Inputs | Default | Required | Description |
---|---|---|---|
aur_key | no default | true | AUR ssh private key |
ref | 'master' | false | Checkout reference |
username | ${{ github.actor || 'github-actions-bot'}} | false | Git username to use |
'[email protected]' | false | Git email to use | |
repo | ${{ github.repository }} | false | Repository: user/repo_name |
repo_name | ${{ github.event.repository.name }} | false | Repository name |
aur_folder | ./aur | false | AUR files folder |
commit_hash | ${{ github.event.push.after || 'no-hash' }} | false | Commit hash for commit messages |