-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding AUR nightly as well for release
- Loading branch information
Showing
1 changed file
with
28 additions
and
2 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 |
---|---|---|
|
@@ -313,8 +313,6 @@ jobs: | |
## ## ## ## ## ## ## ## ## ## ## ## ## ## | ||
## ## ## ## ###### ## ## ## ## ####### ## ## | ||
|
||
|
||
|
||
publish_aur: | ||
environment: release | ||
needs: | ||
|
@@ -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 }} | ||
|
||
|
||
###### #### ######## ## ## ## ## ######## ######## ## ## ######## ## #### ###### ## ## | ||
|