-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(CI): publish AUR bin package first
- Loading branch information
1 parent
1a9a997
commit 4ac1ad6
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|