Skip to content

Commit

Permalink
Adding AUR nightly as well for release
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunicorn committed Aug 29, 2024
1 parent d5bbcbb commit d36c31e
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,6 @@ jobs:
## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ###### ## ## ## ## ####### ## ##



publish_aur:
environment: release
needs:
Expand Down Expand Up @@ -345,6 +343,34 @@ jobs:
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: Updated to ${{ needs.tags.outputs.version }}

publish_aur_nightly:
environment: release
needs:
- tags
- build
name: Publish AUR nightly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: Linux x64
- name: Patch PKGBUILD file
run: |
cp app/linux/packaging/aur/PKGBUILD-nightly PKGBUILD
sed -i "s/%{{TAG}}%/${{ needs.tags.outputs.tag }}/g" PKGBUILD
sed -i "s/%{{VERSION}}%/${{ needs.tags.outputs.version }}/g" PKGBUILD
sed -i "s/%{{PKGREL}}%/1/g" PKGBUILD
sed -i "s/%{{LINUX_MD5}}%/`md5sum acter-nightly-linux-x64-${{ needs.tags.outputs.version }}.tar.bz2 | awk '{print $1}'`/g" PKGBUILD
- uses: KSXGitHub/[email protected]
name: Publish to AUR
with:
pkgname: acter-nightly-bin
pkgbuild: ./PKGBUILD
commit_username: Sari
commit_email: [email protected]
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: Updated to ${{ needs.tags.outputs.tag }}


###### #### ######## ## ## ## ## ######## ######## ## ## ######## ## #### ###### ## ##
Expand Down

0 comments on commit d36c31e

Please sign in to comment.