Skip to content
navigation-2

GitHub Action

Update AUR Package

v1.0.5 Latest version

Update AUR Package

navigation-2

Update AUR Package

Create a AUR release on version bump

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Update AUR Package

uses: aksh1618/update-aur-package@v1.0.5

Learn more about this action in aksh1618/update-aur-package

Choose a version

Update AUR Package

A simple yet powerful action to automatically update your AUR package to the version you just tagged on github. Minorly tweaked variant of ATiltedTree/create-aur-release.

Inputs

Input Required Description
tag_version_prefix true The prefix of the version used in the tag. (v by default).
package_name true The name of the AUR package to update.
commit_username true The username to use when creating the new commit.
commit_email true The email to use when creating the new commit.
ssh_private_key true The SSH private key with access to the specified AUR package.

Example

name: Publish

on:
  push:
    tags:
      - "cli-v*"

jobs:
  aur-publish:
    runs-on: ubuntu-latest
    steps:
      - name: Publish AUR package
        uses: aksh1618/update-aur-package@v1.0.5
        with:
          tag_version_prefix: cli-v
          package_name: my-awesome-package
          commit_username: "Github Action Bot"
          commit_email: github-action-bot@example.com
          ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}