Skip to content

Commit 71a6f08

Browse files
committed
Download precompiled binary of wit-bindgen
1 parent ac9fece commit 71a6f08

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ jobs:
8585
run: |
8686
./ci/vendor-wit.sh
8787
git diff --exit-code
88-
- run: cargo install wit-bindgen-cli@0.45.0 --locked
88+
- run: |
89+
version=0.45.1
90+
91+
mkdir wit-bindgen
92+
cd wit-bindgen
93+
curl -o wit-bindgen.tar.gz -L https://github.com/bytecodealliance/wit-bindgen/releases/download/v$version/wit-bindgen-$version-x86_64-linux.tar.gz
94+
tar xf wit-bindgen.tar.gz
95+
echo "PATH=$PATH:`pwd`/wit-bindgen-$version-x86_64-linux" >> $GITHUB_ENV
96+
working-directory: ${{ runner.tool_cache }}
8997
- run: ./ci/regenerate.sh
9098
- run: git diff --exit-code

0 commit comments

Comments
 (0)