Skip to content

Commit

Permalink
fix(ci): Incorrect condition syntax (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
leviem1 authored Sep 29, 2024
1 parent 40f23fa commit a1cb299
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 @@ -22,12 +22,12 @@ jobs:
id: project_name

- name: Set pre-release environment
if: github.event.release.prerelease == 'true'
if: ${{ github.event.release.prerelease }}
run: |
echo "RELEASE_TYPE=pre-release" >> $GITHUB_ENV
- name: Set release environment
if: github.event.release.prerelease == 'false'
if: ${{ !github.event.release.prerelease }}
run: |
echo "RELEASE_TYPE=release" >> $GITHUB_ENV
Expand Down

0 comments on commit a1cb299

Please sign in to comment.