diff --git a/.github/workflows/build-wasm_of_ocaml.yml b/.github/workflows/build-wasm_of_ocaml.yml index 840b35bb..5c41da1c 100644 --- a/.github/workflows/build-wasm_of_ocaml.yml +++ b/.github/workflows/build-wasm_of_ocaml.yml @@ -49,7 +49,7 @@ jobs: id: cache-binaryen uses: actions/cache/restore@v4 with: - path: binaryen + path: binaryen/bin key: ${{ runner.os }}-binaryen-version_118 - name: Checkout binaryen @@ -80,7 +80,7 @@ jobs: if: steps.cache-binaryen.outputs.cache-hit != 'true' uses: actions/cache/save@v4 with: - path: binaryen + path: binaryen/bin key: ${{ runner.os }}-binaryen-version_118 - name: Set binaryen's path diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18338197..1e310514 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -119,7 +119,7 @@ jobs: id: cache-binaryen uses: actions/cache/restore@v4 with: - path: binaryen + path: binaryen/bin key: ${{ runner.os }}-binaryen-version_118 - name: Checkout binaryen @@ -163,13 +163,17 @@ jobs: if: steps.cache-binaryen.outputs.cache-hit != 'true' uses: actions/cache/save@v4 with: - path: binaryen + path: binaryen/bin key: ${{ runner.os }}-binaryen-version_118 - name: Set binaryen's path shell: bash run: echo "$GITHUB_WORKSPACE/binaryen/bin" >> $GITHUB_PATH + - name: Set binaryen's path (windows) + shell: bash + run: cp $GITHUB_WORKSPACE/binaryen/bin/wasm-{merge,opt}.exe `opam var bin` + - name: Binaryen DEBUG shell: bash run: echo $PATH