Skip to content

Commit

Permalink
actions: add condition on deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
rockavoldy authored Jul 25, 2023
1 parent 9c98218 commit 3b9c035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: build
if: ${{ needs.build.outputs.bump_tag }} && ${{ needs.build.outputs.old_pre_tag }}
if: needs.build.outputs.bump_tag && needs.build.outputs.old_pre_tag
steps:
- name: Delete old prerelease tag with v0.x.x
if: ${{ needs.build.outputs.old_pre_tag == needs.build.outputs.bump_tag }} && (needs.build.outputs.bump_tag != 'NULL')
if: (needs.build.outputs.old_pre_tag == needs.build.outputs.bump_tag) && (needs.build.outputs.bump_tag != 'NULL')
uses: dev-drprasad/[email protected]
with:
delete_release: true
Expand Down

0 comments on commit 3b9c035

Please sign in to comment.