Skip to content

Commit

Permalink
try github release event
Browse files Browse the repository at this point in the history
  • Loading branch information
ahirner committed Jan 9, 2022
1 parent 683de9c commit 12050f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches: [ main ]
pull_request:
release:
types: [created]

jobs:
linux:
Expand Down Expand Up @@ -52,7 +54,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
if: github.event_name == 'release' && github.event.action == 'created'
needs: [ macos, windows, linux ]
steps:
- uses: actions/download-artifact@v2
Expand Down

0 comments on commit 12050f6

Please sign in to comment.