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:
41
41
- name : Verify vendor.tar
42
42
if : ${{ contains(github.ref, 'refs/heads/release/') }}
43
43
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
45
48
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
47
51
echo "vendor.tar is not up to date, please run 'just make-vendor-tar' and commit the changes"
48
52
exit 1
49
53
fi
54
+ git restore ./src/hyperlight_wasm/vendor.tar
50
55
shell : bash
51
56
- name : Package hyperlight-wasm crate
52
57
if : ${{ contains(github.ref, 'refs/heads/release/') }}
55
60
- name : Install minver_rs
56
61
run : |
57
62
cargo install minver_rs
58
- shell : pwsh
63
+ shell : bash
59
64
- name : Set HYPERLIGHTWASM_VERSION
60
65
run : |
61
66
git fetch --tags || true
64
69
export MINVER_PRERELEASE_IDENTIFIER="preview"
65
70
echo "HYPERLIGHTWASM_VERSION=$(minver)" >> $GITHUB_ENV
66
71
echo "HYPERLIGHTWASM_VERSION=$(minver)"
67
- shell : pwsh
72
+ shell : bash
68
73
- name : Download Wasm Modules
69
74
uses : actions/download-artifact@v4
70
75
with :
You can’t perform that action at this time.
0 commit comments