Skip to content

Commit b872bfe

Browse files
committed
fix ci
1 parent 7670e7c commit b872bfe

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -141,51 +141,6 @@ jobs:
141141
npm run rebuild:wasm32 -w packages/test
142142
cd ./packages/test/rust && cargo build --release --target=wasm32-unknown-unknown && cd ../../..
143143
npm run test:wasm32 -w packages/test
144-
145-
release:
146-
name: Release
147-
if: ${{ startsWith(github.event.ref, 'refs/tags') }}
148-
needs: build
149-
runs-on: ubuntu-latest
150-
env:
151-
WASI_VERSION: '19'
152-
WASI_VERSION_FULL: '19.0'
153-
WASI_SDK_PATH: './wasi-sdk-19.0'
154-
155-
steps:
156-
- uses: actions/checkout@v3
157-
- name: Install Ninja
158-
run: |
159-
sudo apt-get update
160-
sudo apt-get install ninja-build
161-
- uses: mymindstorm/setup-emsdk@v11
162-
if: ${{ matrix.target == 'emscripten' }}
163-
with:
164-
version: '3.1.29'
165-
# no-cache: true
166-
actions-cache-folder: 'emsdk-cache'
167-
- name: Install wasi-sdk
168-
shell: bash
169-
run: |
170-
wget -q https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_VERSION}/wasi-sdk-${WASI_VERSION_FULL}-linux.tar.gz
171-
mkdir -p $WASI_SDK_PATH
172-
tar zxvf wasi-sdk-${WASI_VERSION_FULL}-linux.tar.gz -C $WASI_SDK_PATH --strip 1
173-
- uses: actions/setup-node@v3
174-
with:
175-
node-version: '18.12.1'
176-
registry-url: 'https://registry.npmjs.org'
177-
env:
178-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
179-
180-
- name: NPM Install
181-
shell: bash
182-
run: |
183-
npm install -g node-gyp
184-
npm install
185-
186-
- name: NPM Build
187-
shell: bash
188-
run: npm run build --workspaces --if-present
189144
190145
release:
191146
name: Release

0 commit comments

Comments
 (0)