Skip to content

Commit

Permalink
Update condition for emscripten-wasm upload release asset step.
Browse files Browse the repository at this point in the history
  • Loading branch information
rturrado committed Apr 11, 2024
1 parent f2e9107 commit 42a7d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ jobs:
shell: bash
- name: Upload release asset
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
if: ${{ github.event_name == 'release' && github.event.action == 'created' }}
with:
files: |
build/Release/emscripten/cqasm_emscripten.js
Expand Down

0 comments on commit 42a7d74

Please sign in to comment.