1name: 'Install prerequisites for plugins example'
2description: 'Install prerequisites for plugins example'
3
4runs:
5  using: composite
6  steps:
7    - name: Install WASI SDK (Linux)
8      run: wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-30/wasi-sdk-30.0-x86_64-linux.tar.gz -P ${{ runner.temp }} && tar xf ${{ runner.temp }}/wasi-sdk-30.0-x86_64-linux.tar.gz -C ${{ runner.temp }} && echo WASI_SDK_PATH=${{ runner.temp }}/wasi-sdk-30.0-x86_64-linux >> $GITHUB_ENV
9      if: runner.os == 'Linux'
10      shell: bash
11    - name: Install wit-bindgen (Linux)
12      run: cargo install [email protected]
13      if: runner.os == 'Linux'
14      shell: bash
15    - name: Install jco (Linux)
16      run: npm install --global @bytecodealliance/jco@1.15.0 && npm install --global @bytecodealliance/componentize-js@0.19.1
17      if: runner.os == 'Linux'
18      shell: bash
19
20