Skip to content

Commit

Permalink
skip emscripten build for draft PRs (CleverRaven#73668)
Browse files Browse the repository at this point in the history
* skip emscripten build for draft PRs
* reenable enscripten builds for releases
* only execute enscripten build if other builds have succeeded
  • Loading branch information
kevingranade authored and nornagon committed Jun 7, 2024
1 parent 9888b29 commit b9ea618
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,4 +351,5 @@ jobs:
emscripten:
needs: [ varied_builds ]
uses: ./.github/workflows/emscripten.yml
if: ${{ success() && github.event.pull_request.draft == false }}
secrets: inherit
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -365,3 +365,8 @@ jobs:
fi
- run: |
gh release upload cdda-0.H-${{ needs.release.outputs.timestamp }} cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.${{ matrix.ext }}
emscripten:
needs: [ builds ]
if: ${{ success() }}
uses: ./.github/workflows/emscripten.yml
secrets: inherit

0 comments on commit b9ea618

Please sign in to comment.