Skip to content

Commit dddf234

Browse files
workflow fixes
1 parent 1941085 commit dddf234

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/reusable-wasm-near.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
EMSCRIPTEN_VERSION: 4.0.10
2121
EMSDK_PATH: /opt/emsdk
2222
CROSS_BUILD_PYTHON: builddir/build
23-
CROSS_BUILD_WASI: builddir/emscripten-near
23+
CROSS_BUILD_EMSCRIPTEN_NEAR: builddir/emscripten-near
2424
steps:
2525
- uses: actions/checkout@v4
2626
with:
@@ -73,7 +73,7 @@ jobs:
7373
- name: "Restore host config.cache"
7474
uses: actions/cache@v4
7575
with:
76-
path: ${{ env.CROSS_BUILD_WASI }}/config.cache
76+
path: ${{ env.CROSS_BUILD_EMSCRIPTEN_NEAR }}/config.cache
7777
# Should be kept in sync with the other config.cache step above.
7878
key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ env.EMSCRIPTEN_VERSION }}-${{ inputs.config_hash }}-${{ hashFiles('Tools/wasm/wasm_build.py') }}-${{ env.pythonLocation }}
7979
- name: "Configure host"
@@ -82,15 +82,15 @@ jobs:
8282
- name: "Make host"
8383
run: python3 Tools/wasm/wasm_build.py emscripten-near make-host
8484
- name: "Display build info"
85-
run: make --directory "${CROSS_BUILD_WASI}" pythoninfo
85+
run: make --directory "${CROSS_BUILD_EMSCRIPTEN_NEAR}" pythoninfo
8686
- name: "Upload python.wasm"
8787
if: github.event_name == 'release'
8888
uses: actions/upload-release-asset@v1
8989
env:
9090
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9191
with:
9292
upload_url: ${{ github.event.release.upload_url }}
93-
asset_path: ${{ CROSS_BUILD_WASI }}/python.wasm
93+
asset_path: ${{ env.CROSS_BUILD_EMSCRIPTEN_NEAR }}/python.wasm
9494
asset_name: python.wasm
9595
asset_content_type: application/wasm
9696
- name: "Upload python-stdlib.zip"
@@ -100,8 +100,8 @@ jobs:
100100
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101101
with:
102102
upload_url: ${{ github.event.release.upload_url }}
103-
asset_path: ${{ CROSS_BUILD_WASI }}/python-stdlib.zip
103+
asset_path: ${{ env.CROSS_BUILD_EMSCRIPTEN_NEAR }}/python-stdlib.zip
104104
asset_name: python-stdlib.zip
105105
asset_content_type: application/zip
106106
- name: "Test"
107-
run: make --directory "${CROSS_BUILD_WASI}" test
107+
run: make --directory "${CROSS_BUILD_EMSCRIPTEN_NEAR}" test

0 commit comments

Comments
 (0)