We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 836f537 commit 6311db7Copy full SHA for 6311db7
.github/workflows/build.yml
@@ -5,6 +5,8 @@ on:
5
branches:
6
- main
7
- release-*
8
+ tags:
9
+ - v*.*.*
10
pull_request:
11
12
@@ -148,5 +150,6 @@ jobs:
148
150
override: true
149
151
- uses: katyo/publish-crates@v2
152
with:
- dry-run: ${{ github.event_name != 'push' }}
153
+ # Only do an actual publish if this is a push to a release tag. Otherwise, do a dry run.
154
+ dry-run: ${{ !(github.event_name == 'push' && github.ref_type == 'tag') }}
155
ignore-unpublished-changes: true
0 commit comments