Skip to content

Commit

Permalink
ci: renew how to check the WASM in release (#298)
Browse files Browse the repository at this point in the history
Before this commit, WASM was checked with vm/example/check_contracts.*
in release CI.
This scripts are deleted and moved to package/check in latest version,
so this commit change to use package/check.
  • Loading branch information
loloicci authored Apr 27, 2023
1 parent 1ff8c6f commit 5f77927
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 @@ -57,7 +57,7 @@ jobs:
working-directory: ./
run: |
echo "Checking all contracts under ./artifacts"
docker run --volumes-from with_code rust:1.60.0 /bin/bash -e -c 'cd ./code/packages/vm; export GLOBIGNORE=../../artifacts/floaty.wasm; ./examples/check_contract.sh ../../artifacts/*.wasm'
docker run --volumes-from with_code rust:1.60.0 /bin/bash -e -c 'cd ./code/packages/check; export GLOBIGNORE=../../artifacts/floaty.wasm; cargo run ../../artifacts/*.wasm'
docker cp with_code:/code/artifacts .
- name: Create Release
Expand Down

0 comments on commit 5f77927

Please sign in to comment.