Skip to content

Commit 520bfeb

Browse files
committed
fix ci workflow
1 parent 2bb9bdd commit 520bfeb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/cargo-publish.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: publish
22

3-
on:
4-
create:
5-
tags:
6-
- 'v[0-9]+.[0-9]+.[0-9]+'
3+
on: [create]
74

85
env:
96
CARGO_TERM_COLOR: always
107

118
jobs:
129
verify-tests:
10+
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
1311
runs-on: ${{ matrix.os }}
1412

1513
strategy:

0 commit comments

Comments
 (0)