From dac0e223611c96ec253a614b5c8593fd91eba1cc Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Tue, 24 Sep 2024 04:10:23 -0400 Subject: [PATCH] ci: fix build yq size value --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 041387e..b14c5c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -177,7 +177,7 @@ jobs: $appX64Size = (Get-Item "signed-build/ietf-draftforge-win-x64-$appVersion.exe").Length $appArm64Size = (Get-Item "signed-build/ietf-draftforge-win-arm64-$appVersion.exe").Length yq -i 'del(.files.[0]) | del(.path) | del(.sha512)' dist/electron/Packaged/latest.yml - yq -i ".files.[0].sha512 = `"$appX64HashB64`" | .files.[0].size = `"$appX64Size`" | .files.[1].sha512 = `"$appArm64HashB64`" | .files.[1].size = `"$appArm64Size`"" dist/electron/Packaged/latest.yml + yq -i ".files.[0].sha512 = `"$appX64HashB64`" | .files.[0].size = $appX64Size | .files.[1].sha512 = `"$appArm64HashB64`" | .files.[1].size = $appArm64Size" dist/electron/Packaged/latest.yml - name: Windows - Add Signed Packages to Release if: ${{ matrix.platform == 'win32' }}