Skip to content

Commit

Permalink
Update release-v2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yvasyliev authored Nov 16, 2023
1 parent 81d0538 commit 59e82b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
validate-current-version:
runs-on: ubuntu-latest
needs: get-current-version
if: github.event.inputs.release_type != 'provided'
steps:
- name: Validate current version
if: github.event.inputs.release_type != 'provided'
env:
CURRENT_VERSION: ${{ needs.get-current-version.outputs.current-version }}
run: |
Expand Down Expand Up @@ -95,6 +95,7 @@ jobs:
get-new-version:
runs-on: ubuntu-latest
needs: [ get-current-version, validate-current-version ]
if: contains(fromJSON('["success", "skipped"]'), needs.validate-current-version.result)
outputs:
new-version: ${{ steps.get-new-version.outputs.new-version }}
env:
Expand Down

0 comments on commit 59e82b9

Please sign in to comment.