Skip to content

Commit

Permalink
chore(CI): publish AUR bin package first
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowApex committed Aug 9, 2024
1 parent 1a9a997 commit bfb948f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,36 +90,36 @@ jobs:
host: aur.archlinux.org
private-key: ${{ secrets.AUR_SSH_KEY }}

- name: Checkout AUR git
run: git clone ssh://[email protected]/inputplumber-git.git
- name: Checkout AUR bin
run: git clone ssh://[email protected]/inputplumber-bin.git

- name: Build git package
working-directory: inputplumber-git
- name: Copy PKGBUILD to bin repo
run: cp ./PKGBUILD inputplumber-bin/

- name: Build bin package
working-directory: inputplumber-bin
run: make in-docker

- name: Commit and publish git package
- name: Commit and publish bin package
shell: bash
working-directory: inputplumber-git
working-directory: inputplumber-bin
run: |
git config user.name "github-actions[bot]"
git config user.email "shadowblip+github-actions[bot]@users.noreply.github.com"
git add .SRCINFO PKGBUILD
git commit -m "Update to $(grep '^pkgver=' PKGBUILD | cut -d'=' -f2)"
git push origin master
- name: Checkout AUR bin
run: git clone ssh://[email protected]/inputplumber-bin.git

- name: Copy PKGBUILD to bin repo
run: cp ./PKGBUILD inputplumber-bin/
- name: Checkout AUR git
run: git clone ssh://[email protected]/inputplumber-git.git

- name: Build bin package
working-directory: inputplumber-bin
- name: Build git package
working-directory: inputplumber-git
run: make in-docker

- name: Commit and publish bin package
- name: Commit and publish git package
shell: bash
working-directory: inputplumber-bin
working-directory: inputplumber-git
run: |
git config user.name "github-actions[bot]"
git config user.email "shadowblip+github-actions[bot]@users.noreply.github.com"
Expand Down

0 comments on commit bfb948f

Please sign in to comment.