Skip to content

Commit 3d8cf62

Browse files
committed
DEBUG
1 parent 4f6275e commit 3d8cf62

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/build-wasm_of_ocaml.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
id: cache-binaryen
5050
uses: actions/cache/restore@v4
5151
with:
52-
path: binaryen
52+
path: binaryen/bin
5353
key: ${{ runner.os }}-binaryen-version_118
5454

5555
- name: Checkout binaryen
@@ -80,7 +80,7 @@ jobs:
8080
if: steps.cache-binaryen.outputs.cache-hit != 'true'
8181
uses: actions/cache/save@v4
8282
with:
83-
path: binaryen
83+
path: binaryen/bin
8484
key: ${{ runner.os }}-binaryen-version_118
8585

8686
- name: Set binaryen's path

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
id: cache-binaryen
120120
uses: actions/cache/restore@v4
121121
with:
122-
path: binaryen
122+
path: binaryen/bin
123123
key: ${{ runner.os }}-binaryen-version_118
124124

125125
- name: Checkout binaryen
@@ -163,13 +163,17 @@ jobs:
163163
if: steps.cache-binaryen.outputs.cache-hit != 'true'
164164
uses: actions/cache/save@v4
165165
with:
166-
path: binaryen
166+
path: binaryen/bin
167167
key: ${{ runner.os }}-binaryen-version_118
168168

169169
- name: Set binaryen's path
170170
shell: bash
171171
run: echo "$GITHUB_WORKSPACE/binaryen/bin" >> $GITHUB_PATH
172172

173+
- name: Set binaryen's path (windows)
174+
shell: bash
175+
run: cp $GITHUB_WORKSPACE/binaryen/bin/wasm-{merge,opt}.exe `opam var bin`
176+
173177
- name: Binaryen DEBUG
174178
shell: bash
175179
run: echo $PATH

0 commit comments

Comments
 (0)