Skip to content

Commit 7460b69

Browse files
workflow fixes
1 parent 163f124 commit 7460b69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
- name: "Build"
6262
run: python3 Tools/wasm/wasm_build.py emscripten-near
6363
- name: "Upload python.wasm"
64+
if: github.event_name == 'release'
6465
uses: actions/upload-release-asset@v1
6566
env:
6667
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -70,6 +71,7 @@ jobs:
7071
asset_name: python.wasm
7172
asset_content_type: application/wasm
7273
- name: "Upload python-stdlib.zip"
74+
if: github.event_name == 'release'
7375
uses: actions/upload-release-asset@v1
7476
env:
7577
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)