From 46970ac5d02828721f864eee97ef9782af4c8517 Mon Sep 17 00:00:00 2001 From: Kamil Jarosz Date: Fri, 6 Sep 2024 10:33:22 +0200 Subject: [PATCH] ci: Fix missing checksum in AUR package The sha512sum command hidden within a subshell required to be executed in the repo root directory. --- .github/workflows/release_nightly.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index 2b2f6e736799..054c9db47957 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -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)/"