Fixed release publishing happening outside tag push
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -359,7 +359,7 @@ jobs:
|
||||
# Create Github Release if CI was triggered by a tag
|
||||
#
|
||||
publish-release:
|
||||
if: ${{ github.event_name != 'pull_request' }} && startsWith(github.event.ref, 'refs/tags/v')
|
||||
if: ${{ (github.event_name != 'pull_request') && startsWith(github.event.ref, 'refs/tags/v') }}
|
||||
needs: [publish-images]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user