We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28f46ed commit 51588daCopy full SHA for 51588da
.github/workflows/pipeline.yml
@@ -8,6 +8,9 @@ on:
8
branches:
9
- main # Trigger on pull requests targeting the main branch
10
workflow_dispatch: # Allow manual triggers
11
+ release:
12
+ types:
13
+ - published # Trigger on new release creation
14
15
jobs:
16
build-and-test:
@@ -51,7 +54,7 @@ jobs:
51
54
name: Publish to crates.io
52
55
needs: build-and-test
53
56
runs-on: ubuntu-latest
- if: github.event_name == 'release' && github.event.action == 'published' # Ensure it only runs on release publish
57
+ if: github.event.action == 'published'
58
59
steps:
60
- name: Checkout repository
0 commit comments