Skip to content

Commit 5c895a3

Browse files
authored
Merge pull request #674 from axone-protocol/ci/restrict-create-publication-workflow
ci(workflow): restrict crate publication trigger to new releases
2 parents 29a7ae8 + 40f390d commit 5c895a3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
name: Publish
22

33
on:
4-
push:
5-
branches: [main]
6-
tags: ["v*"]
4+
release:
5+
types: [published]
76

87
concurrency:
98
group: publish-${{ github.ref }}
10-
cancel-in-progress: true
9+
cancel-in-progress: false
1110

1211
jobs:
1312
publish-crates:

0 commit comments

Comments
 (0)