Skip to content

Commit

Permalink
Fix idempotency check for github release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dciabrin committed May 15, 2023
1 parent baa3a8f commit 477075c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
tag: ${{ steps.pkg_data.outputs.tag }}

# TODO: use an action with built-in idempotency
- if: ${{ !steps.check_release.outputs.exists }}
- if: ${{ steps.check_release.outputs.exists == 'false' }}
name: Create a release for nightly package
id: pkg_release
uses: actions/create-release@v1
Expand All @@ -61,7 +61,7 @@ jobs:
prerelease: true

# TODO: use an action with built-in idempotency
- if: ${{ !steps.check_release.outputs.exists }}
- if: ${{ steps.check_release.outputs.exists == 'false' }}
name: Upload nightly package
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 477075c

Please sign in to comment.