Skip to content

Commit 47b68a5

Browse files
authored
fix release workflow (#911)
1 parent 3d300c7 commit 47b68a5

File tree

1 file changed

+2
-52
lines changed

1 file changed

+2
-52
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,6 @@ jobs:
8080
node-version: 18
8181
cache: 'yarn'
8282
registry-url: 'https://registry.npmjs.org'
83-
84-
- uses: ./.github/actions/cache-crates
85-
with:
86-
lockfiles: "runtime/js-compute-runtime/**/Cargo.lock"
87-
88-
- uses: ./.github/actions/install-rust
89-
with:
90-
path: runtime
9183

9284
- name: Restore wasm-tools from cache
9385
uses: actions/cache@v3
@@ -103,55 +95,13 @@ jobs:
10395
echo "bailing out from the build early"
10496
exit 1
10597
106-
- name: Cache SpiderMonkey object files
107-
uses: actions/cache@v2
108-
id: sm-cache
109-
with:
110-
path: |
111-
runtime/spidermonkey/release
112-
key: cache-${{ hashFiles(
113-
'runtime/spidermonkey/build-engine.sh',
114-
'runtime/spidermonkey/gecko-revision',
115-
'runtime/spidermonkey/object-files.list',
116-
'runtime/rust-toolchain.toml'
117-
) }}-release
118-
119-
- name: "Build SpiderMonkey"
120-
if: ${{ steps.sm-cache.outputs.cache-hit != 'true' }}
121-
run: |
122-
cd runtime/spidermonkey/
123-
bash ./build-engine.sh release
124-
125-
- name: "Install wasi-sdk-20 (linux)"
126-
run: |
127-
set -x
128-
curl -sS -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-linux.tar.gz
129-
tar xf wasi-sdk-20.0-linux.tar.gz
130-
sudo mkdir -p /opt/wasi-sdk
131-
sudo mv wasi-sdk-20.0/* /opt/wasi-sdk/
132-
133-
- name: "Install Binaryen (linux)"
134-
run: |
135-
set -x
136-
export BINARYEN_VERSION=105
137-
curl -sS -L "https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/binaryen-version_${BINARYEN_VERSION}-x86_64-linux.tar.gz" | tar xzf - &&
138-
echo "$PWD/binaryen-version_${BINARYEN_VERSION}/bin" >> $GITHUB_PATH
139-
140-
- name: Cache built Rust dependencies
141-
uses: actions/cache@v3
142-
with:
143-
path: runtime/js-compute-runtime/rusturl
144-
key: engine-cargo-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('runtime/rust-toolchain.toml', 'runtime/js-compute-runtime/**/Cargo.lock') }}
145-
# We trust cargo to only reuse valid parts of the cache when dependencies change.
146-
restore-keys: engine-cargo-${{ runner.os }}-${{ runner.arch }}-
147-
14898
- run: yarn install --immutable
14999

150100
- run: yarn build
151101

152-
- run: yarn build:starlingmonkey
102+
- run: yarn build:debug
153103

154-
- run: yarn build:starlingmonkey:weval
104+
- run: yarn build:weval
155105

156106
- run: npm publish
157107
env:

0 commit comments

Comments
 (0)