Skip to content

Commit

Permalink
feat/PKGBUILD (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Apr 18, 2023
1 parent c144b32 commit ddce06e
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/publish_AUR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This workflow will generate a distribution and upload it to PyPI

name: aur-publish

on:
workflow_dispatch:

jobs:
aur-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: dev
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Build Tools
run: |
python -m pip install build wheel pip2pkgbuild
- name: Create PKGBUILD
run: |
pip2pkgbuild ovos-utils -p python -b python-ovos-utils
- name: Commit to dev
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: generate PKGBUILD
branch: dev
- name: Publish AUR package
uses: KSXGitHub/github-actions-deploy-aur@<TAG>
with:
pkgname: ovos-utils
pkgbuild: ./PKGBUILD
commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: Update AUR package
ssh_keyscan_types: rsa,dsa,ecdsa,ed25519

0 comments on commit ddce06e

Please sign in to comment.