File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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/') }}
You can’t perform that action at this time.
0 commit comments