Skip to content

Commit a30eb5c

Browse files
authored
Merge pull request #77 from spinframework/ref/release-yml-triggers
ref(release.yml): only use semver tag trigger
2 parents bd0b598 + 0f4f93a commit a30eb5c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Release
22
on:
33
push:
4-
branches:
5-
- main
6-
- "v[0-9]+.[0-9]+"
74
tags:
85
- "v*"
96

@@ -14,9 +11,7 @@ jobs:
1411
crates:
1512
name: Publish to crates.io
1613
runs-on: ubuntu-latest
17-
if: |
18-
startsWith(github.ref, 'refs/tags/v') &&
19-
github.repository_owner == 'spinframework'
14+
if: github.repository_owner == 'spinframework'
2015
steps:
2116
- uses: actions/checkout@v4
2217

0 commit comments

Comments
 (0)