Skip to content

Commit aa471b9

Browse files
committed
Fix prerelease and release conditions in github workflows
1 parent 8f0f565 commit aa471b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/prerelease-lib.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
publish-lib-prerelease:
1414
environment: Github CI
1515
# Only proceed if the tests passed and we're not on release
16-
if: ${{ github.event.workflow_run.conclusion == 'success' }} && ${{ !startsWith(github.ref, 'refs/tags/') }}
16+
if: ${{ github.event.workflow_run.conclusion == 'success' && !startsWith(github.ref, 'refs/tags/') }}
1717
runs-on: ubuntu-latest
1818
permissions:
1919
contents: read

.github/workflows/release-lib.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
publish-lib:
1414
environment: Github CI
1515
# Only proceed if the tests passed and we're on release
16-
if: ${{ github.event.workflow_run.conclusion == 'success' }} && ${{ startsWith(github.ref, 'refs/tags/') }}
16+
if: ${{ github.event.workflow_run.conclusion == 'success' && startsWith(github.ref, 'refs/tags/') }}
1717
runs-on: ubuntu-latest
1818
permissions:
1919
contents: read

0 commit comments

Comments
 (0)