fix aur build (#273)

* fix aur build

* Update both aur repos
This commit is contained in:
ReenigneArcher
2022-07-29 08:56:07 -04:00
committed by GitHub
parent d19c883067
commit 7d4df19cdc
+10 -6
View File
@@ -97,14 +97,16 @@ jobs:
clone_url=${{ github.event.repository.clone_url }} clone_url=${{ github.event.repository.clone_url }}
if [[ ${{ github.ref == 'refs/heads/master' }} ]]; then if [[ ${{ github.ref == 'refs/heads/master' }} ]]; then
aur_pkg=sunshine-git aur_pkg=sunshine
# conflicts="" conflicts=""
# provides="" provides=""
echo "aur_publish=true" >> $GITHUB_ENV echo "aur_publish=true" >> $GITHUB_ENV
elif [[ ${{ github.ref == 'refs/heads/nightly' }} ]]; then elif [[ ${{ github.ref == 'refs/heads/nightly' }} ]]; then
aur_pkg=sunshine-nightly aur_pkg=sunshine-git
sub_version=".r${commit}" sub_version=".r${commit}"
echo "aur_publish=true" >> $GITHUB_ENV
fi fi
else else
echo "This is a PR event" echo "This is a PR event"
@@ -128,7 +130,9 @@ jobs:
mv ./build/PKGBUILD ./artifacts/ mv ./build/PKGBUILD ./artifacts/
- name: Validate package - name: Validate package
uses: hapakaien/archlinux-package-action@v2 # uses: hapakaien/archlinux-package-action@v2
# the above action has an issue with the archlinux-keychain
uses: lizardbyte/archlinux-package-action@main
with: with:
path: artifacts path: artifacts
flags: '--syncdeps --noconfirm' flags: '--syncdeps --noconfirm'
@@ -154,7 +158,7 @@ jobs:
commit_username: ${{ secrets.AUR_USERNAME }} commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }} commit_email: ${{ secrets.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: Release ${{ needs.check_changelog.outputs.next_version }} commit_message: Automatic update from GitHub ${{ github.repository }} per ${{ github.ref }}
allow_empty_commits: false allow_empty_commits: false
build_linux_flatpak: build_linux_flatpak: