File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -60,14 +60,18 @@ jobs:
6060 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
6161 - name : " Build"
6262 run : python3 Tools/wasm/wasm_build.py emscripten-near
63+ - name : Prepare artifacts
64+ run : |
65+ mkdir -p artifacts
66+ cp ${{ env.CROSS_BUILD_EMSCRIPTEN_NEAR }}/python.wasm artifacts/
67+ cp ${{ env.CROSS_BUILD_EMSCRIPTEN_NEAR }}/python-stdlib.zip artifacts/
68+ cp Tools/wasm/wasm_optimizer.py artifacts/
6369 - name : Upload artifacts
6470 uses : actions/upload-artifact@v4
6571 with :
66- name : build-artifacts -${{ github.sha }}
72+ name : python-wasm-near -${{ github.sha }}
6773 path : |
68- ${{ env.CROSS_BUILD_EMSCRIPTEN_NEAR }}/python.wasm
69- ${{ env.CROSS_BUILD_EMSCRIPTEN_NEAR }}/python-stdlib.zip
70- Tools/wasm/wasm_optimizer.py
74+ artifacts/
7175 - name : " Upload python.wasm"
7276 if : github.event_name == 'release'
7377 uses : actions/upload-release-asset@v1
You can’t perform that action at this time.
0 commit comments