Skip to content

Commit

Permalink
Fix release actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdondorf committed Jan 23, 2022
1 parent 7d74746 commit 48c9f62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
push:
branches:
- master
release:
types: [created]

jobs:
test:
Expand Down Expand Up @@ -64,7 +66,7 @@ jobs:
parallel-finished: true

publish:
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/v')
if: github.event_name == 'release' && github.event.action == 'created'
needs: report-coverage
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 48c9f62

Please sign in to comment.