Skip to content

varabyte/update-aur-package

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 and also aksh1618/update-aur-package.

Inputs

Input Required Description
dry_run false If set to true, the action will not push the changes to AUR but will instead just log.
version true The version of the release.
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:
      - "v*"

jobs:
  aur-publish:
    runs-on: ubuntu-latest
    steps:
      - name: Extract version
        id: extract_version
        run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
        env:
          GITHUB_REF: ${{ github.ref }}

      - name: Publish AUR package
        uses: aksh1618/[email protected]
        with:
          version: "$VERSION"
          package_name: my-awesome-package
          commit_username: "Github Action Bot"
          commit_email: [email protected]
          ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}

About

Bumps your AUR packages on tag creation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 71.6%
  • Dockerfile 28.4%