Skip to content

Commit

Permalink
fix(github): avoid double release
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Gągor committed Mar 22, 2021
1 parent 2b9e0d4 commit 697ea9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Create normal GitHub release
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && github.event_name != 'schedule'
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 697ea9a

Please sign in to comment.