Skip to content

Commit 5401897

Browse files
committed
Fix release hook
1 parent 3c2a036 commit 5401897

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [ master ]
66
pull_request:
77
branches: [ master ]
8+
release:
9+
types:
10+
- published
811

912
jobs:
1013
test:
@@ -185,7 +188,7 @@ jobs:
185188
runs-on: ubuntu-latest
186189

187190
# Only publish when a GitHub Release is created.
188-
if: github.event_name == 'release' && github.event.action == 'published'
191+
if: github.event_name == 'release'
189192
steps:
190193
- uses: actions/download-artifact@v2
191194
with:

0 commit comments

Comments
 (0)