Skip to content

Commit

Permalink
Revert "ci: remove wasi-vfs"
Browse files Browse the repository at this point in the history
This reverts commit f28383a.
  • Loading branch information
palkan committed Jan 28, 2024
1 parent ca6534f commit 0e4c8a9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.74.0
- name: Cache WASI VFS
id: cache-wasi-vfs
uses: actions/cache@v4
with:
path: /usr/local/bin/wasi-vfs
key: ${{ runner.os }}-wasi-vfs
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
Expand All @@ -25,6 +31,12 @@ jobs:
with:
node-version: 21
cache: yarn
- name: Install wasi-vfs
if: steps.cache-wasi-vfs.outputs.cache-hit != 'true'
run: |
curl -LO "https://github.com/kateinoigakukun/wasi-vfs/releases/download/v0.5.2/wasi-vfs-cli-x86_64-unknown-linux-gnu.zip"
unzip wasi-vfs-cli-x86_64-unknown-linux-gnu.zip
mv wasi-vfs /usr/local/bin/wasi-vfs
- name: Cache ruby.wasm artefacts
id: cache-ruby-wasm
uses: actions/cache@v4
Expand Down

0 comments on commit 0e4c8a9

Please sign in to comment.