fix: release build not running

This commit is contained in:
sebthom
2025-05-26 20:50:02 +02:00
parent bf876b15be
commit 15461bb1a5

View File

@@ -328,7 +328,16 @@ jobs:
needs: [build, publish-coverage]
runs-on: ubuntu-latest
timeout-minutes: 5
if: (github.ref_name == 'main' || github.ref_name == 'release') && !github.event.act
# run on 'main' and 'release' branch when:
# build succeeded, AND
# publish-coverage succeeded OR was skipped
if: >
always()
&& needs.build.result == 'success'
&& (needs.publish-coverage.result == 'success' || needs.publish-coverage.result == 'skipped')
&& (github.ref_name == 'main' || github.ref_name == 'release') && !github.event.act
concurrency: publish-${{ github.ref_name }}-release # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idconcurrency
steps: