Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.4 KB

README.md

File metadata and controls

37 lines (30 loc) · 1.4 KB

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 }}