Skip to content

Commit

Permalink
Output the compressed wasm, not the uncompressed (#1985)
Browse files Browse the repository at this point in the history
# Goal
The goal of this PR is use the compressed wasm instead of the
uncompressed wasm in the releases.

When reviewing the v1.12.0 release, it was discovered that the srtool
output for the wasm instead of the compressed wasm was being used.

This corrects that error by using the correct output from the srtool
workflow
  • Loading branch information
wilwade authored May 28, 2024
1 parent fc1224d commit fd02df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ jobs:
runtime_dir: ${{ matrix.runtime-dir }}
- name: Rename WASM file
run: |
cp -p ${{ steps.srtool_build.outputs.wasm }} \
cp -p ${{ steps.srtool_build.outputs.wasm_compressed }} \
./${{env.WASM_DIR}}/${{env.RELEASE_WASM_FILENAME}}
- name: Install Subwasm
run: |
Expand Down

0 comments on commit fd02df7

Please sign in to comment.