ci: Fix missing checksum in AUR package

The sha512sum command hidden within a subshell
required to be executed in the repo root directory.
This commit is contained in:
Kamil Jarosz 2024-09-06 10:33:22 +02:00 committed by TÖRÖK Attila
parent 92686b10b2
commit 1cd3439018
1 changed files with 1 additions and 2 deletions

View File

@ -578,9 +578,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update PKGBUILD
working-directory: desktop/packages/linux/aur/ruffle-nightly-bin
run: >
sed -i ./PKGBUILD
sed -i desktop/packages/linux/aur/ruffle-nightly-bin/PKGBUILD
-e "s/@VERSION@/${{ steps.current_time_dots.outputs.formattedTime }}/"
-e "s/@SHA512SUM@/$(sha512sum ${{ needs.create-nightly-release.outputs.package_prefix }}-linux-x86_64.tar.gz | cut -d' ' -f1)/"