File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments