Skip to content

Releases: TheWisker/aur-update

First Release

01 Jul 15:31
ce70c0c
Compare
Choose a tag to compare

AUR Update

Updates AUR packages on release

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 not 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 Git.

Example

name: AUR Update
on:
  release:
    types: [published]
permissions:
  contents: write
jobs:
  aur-update-git:
    runs-on: ubuntu-latest 
    container:
      image: archlinux
      options: --privileged
    steps:
      - name: AUR Update
        uses: TheWisker/aur-update@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 '[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
tag_name ${{ github.event.release.tag_name || 'no-tag' }} false Release tag name for commit messages