Skip to content

Commit

Permalink
ci: fix build yq size value
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Sep 24, 2024
1 parent c9b2392 commit dac0e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit dac0e22

Please sign in to comment.