Skip to content

Commit

Permalink
Fix build conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
3j14 committed May 11, 2021
1 parent 6515063 commit f7e8681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.release }}

steps:
- uses: actions/checkout@v2
Expand All @@ -38,7 +38,7 @@ jobs:
upload:
runs-on: ubuntu-latest
needs: ['build']
if: "github.event.release"
if: ${{ github.event.release }}

steps:
- uses: actions/download-artifact@v2
Expand Down

0 comments on commit f7e8681

Please sign in to comment.