Skip to content

Commit a5ab6e0

Browse files
committed
[CI] Fix 'on' condition for publishing job
1 parent 6e90887 commit a5ab6e0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish.yml

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

33
on:
44
push:
5-
branches:
6-
- master
5+
tags:
6+
- v*
77

88
jobs:
99
publish:
1010
runs-on: ubuntu-20.04
11-
if: startsWith(github.event.ref, 'refs/tags/')
1211

1312
steps:
1413
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)