Skip to content

Commit 22b0f06

Browse files
committed
ci: Added on-release trigger
1 parent b5cf473 commit 22b0f06

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/tests_and_publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
- master
1212
- '*.*.*'
1313

14+
release:
15+
types: [ published ]
16+
1417
jobs:
1518

1619
test:
@@ -55,7 +58,7 @@ jobs:
5558

5659
publish:
5760
needs: test
58-
if: github.event_name == 'release' && github.event.action == 'created'
61+
if: github.event_name == 'release' && github.event.action == 'published'
5962
runs-on: ubuntu-latest
6063
continue-on-error: true
6164

0 commit comments

Comments
 (0)