From 4ac1ad65f3f2cde17545287d101d0c7923db4463 Mon Sep 17 00:00:00 2001 From: William Edwards Date: Fri, 9 Aug 2024 14:40:09 -0700 Subject: [PATCH] chore(CI): publish AUR bin package first --- .github/workflows/release.yaml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 19be2eb..66ff999 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -90,16 +90,19 @@ jobs: host: aur.archlinux.org private-key: ${{ secrets.AUR_SSH_KEY }} - - name: Checkout AUR git - run: git clone ssh://aur@aur.archlinux.org/inputplumber-git.git + - name: Checkout AUR bin + run: git clone ssh://aur@aur.archlinux.org/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" @@ -107,19 +110,16 @@ jobs: git commit -m "Update to $(grep '^pkgver=' PKGBUILD | cut -d'=' -f2)" git push origin master - - name: Checkout AUR bin - run: git clone ssh://aur@aur.archlinux.org/inputplumber-bin.git - - - name: Copy PKGBUILD to bin repo - run: cp ./PKGBUILD inputplumber-bin/ + - name: Checkout AUR git + run: git clone ssh://aur@aur.archlinux.org/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"