Skip to content

Commit

Permalink
Fix (in)equality checks in release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
solvaholic committed May 9, 2021
1 parent f6c0d99 commit 674ec04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:

jobs:
create-release:
if: ${{ github.event_name != 'workflow_dispatch' }}
if: ${{ github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-20.04
outputs:
changelog: ${{ steps.changelog.outputs.changelog }}
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
# When a release is published, update short
# version tags, for example v2 and v2.2
update-tags:
if: ${{ github.event_name != 'release' }}
if: ${{ github.event_name == 'release' }}
runs-on: ubuntu-20.04
steps:
# Check out this repository at the same ref that triggered
Expand Down

0 comments on commit 674ec04

Please sign in to comment.