Skip to content

Commit

Permalink
workflow: limit 'release' event to 'created' action
Browse files Browse the repository at this point in the history
  • Loading branch information
jackun committed Nov 29, 2020
1 parent e382318 commit 079f67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: |
./build-source.sh
./build.sh build package release
- if: github.event_name == 'release'
- if: github.event_name == 'release' && github.event.action == 'created'
name: Upload release
run: |
assets=()
Expand Down

0 comments on commit 079f67a

Please sign in to comment.