From 42a7d7469f5875fde7b0580e4364d4aa78d5f8b2 Mon Sep 17 00:00:00 2001 From: rturrado <68099809+rturrado@users.noreply.github.com> Date: Thu, 11 Apr 2024 16:04:30 +0200 Subject: [PATCH] Update condition for emscripten-wasm upload release asset step. --- .github/workflows/assets.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index 01e68b64..c848b500 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -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