mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 02:31:45 +01:00
fix: release build not running
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user