Skip to content

Commit 1e5462e

Browse files
committed
Skip pre-release tags.
1 parent 0580dea commit 1e5462e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
DispatchReleaseEvent:
5555
runs-on: ubuntu-latest
5656
needs: [PublishToStaging, PublishToSnapshot]
57-
if: ${{ always() && (needs.PublishToStaging.result == 'success' || needs.PublishToSnapshot.result == 'success') }}
57+
if: ${{ always() && needs.PublishToStaging.result == 'success' && !contains(github.ref_name, '-') }}
5858
steps:
5959
- uses: actions/checkout@v6
6060
with:

0 commit comments

Comments
 (0)