File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,17 @@ jobs:
4141 - name : Verify vendor.tar
4242 if : ${{ contains(github.ref, 'refs/heads/release/') }}
4343 run : |
44- mv ./src/hyperlight_wasm/vendor.tar ./vendor.tar
44+ set -euxo pipefail
45+ VENDOR1=$(mktemp -d)
46+ VENDOR2=$(mktemp -d)
47+ tar xf ./src/hyperlight_wasm/vendor.tar -C $VENDOR1
4548 just make-vendor-tar
46- if ! git diff --no-index ./vendor.tar ./src/hyperlight_wasm/vendor.tar; then
49+ tar xf ./src/hyperlight_wasm/vendor.tar -C $VENDOR2
50+ if ! git diff --no-index $VENDOR1 $VENDOR2; then
4751 echo "vendor.tar is not up to date, please run 'just make-vendor-tar' and commit the changes"
4852 exit 1
4953 fi
54+ git restore ./src/hyperlight_wasm/vendor.tar
5055 shell : bash
5156 - name : Package hyperlight-wasm crate
5257 if : ${{ contains(github.ref, 'refs/heads/release/') }}
5560 - name : Install minver_rs
5661 run : |
5762 cargo install minver_rs
58- shell : pwsh
63+ shell : bash
5964 - name : Set HYPERLIGHTWASM_VERSION
6065 run : |
6166 git fetch --tags || true
6469 export MINVER_PRERELEASE_IDENTIFIER="preview"
6570 echo "HYPERLIGHTWASM_VERSION=$(minver)" >> $GITHUB_ENV
6671 echo "HYPERLIGHTWASM_VERSION=$(minver)"
67- shell : pwsh
72+ shell : bash
6873 - name : Download Wasm Modules
6974 uses : actions/download-artifact@v4
7075 with :
You can’t perform that action at this time.
0 commit comments