Skip to content

gbrlsnchs/aur-sync-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AUR sync action

This action can sync an AUR package with Github release.

Requirements

You should add to your secrets an SSH private key that match your key uploaded to your AUR account, so this action can commit and push to it.

Inputs

package_name

Required The AUR package name you want to update.

github_repo

Required The GitHub repo you want to sync with.

commit_username

Required The username to use when creating the new commit.

commit_email

Required The email to use when creating the new commit.

ssh_private_key

Required Your private key with access to AUR package.

extra_dependencies

Required A string contains extra dependencies when building AUR package, separated by space.

Example usage

name: aur-sync

on:
  schedule:
    - cron: '0 0 * * *'

jobs:
  aur-sync:
    runs-on: ubuntu-latest
    steps:
      - name: Sync AUR package with Github release
        uses: maniaciachao/aur-sync-action@v1.2
        with:
          package_name: logism-evolution
          github_repo: 'reds-heig/logisim-evolution'
          commit_username: 'Github Action Bot'
          commit_email: github-action-bot@example.com
          ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
          extra_dependencies: 'jre-openjdk'

About

Github Action to publish an AUR package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 75.1%
  • Dockerfile 24.9%