Skip to content

Commit

Permalink
Fix promote jobs conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Nov 16, 2023
1 parent b903bca commit 7bf5a08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/spring-artifactory-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,17 @@ jobs:
secrets: inherit

promote-milestone:
needs: [staging, verify-staged]
if: ${{ (contains(inputs.releaseVersion, '-M') || contains(inputs.releaseVersion, '-RC')) }}
needs: [releaseVersion, staging, verify-staged]
if: ${{ (contains(needs.releaseVersion.outputs.releaseVersion, '-M') || contains(needs.releaseVersion.outputs.releaseVersion, '-RC')) }}
uses: spring-projects/spring-integration-aws/.github/workflows/spring-artifactory-promote-milestone.yml@main
with:
buildName: ${{ needs.staging.outputs.buildName }}
buildNumber: ${{ needs.staging.outputs.buildNumber }}
secrets: inherit

promote-ga:
needs: [staging, verify-staged]
if: ${{ !contains(inputs.releaseVersion, '-') }}
needs: [releaseVersion, staging, verify-staged]
if: ${{ !contains(needs.releaseVersion.outputs.releaseVersion, '-') }}
uses: spring-projects/spring-integration-aws/.github/workflows/spring-artifactory-promote-central.yml@main
with:
buildName: ${{ needs.staging.outputs.buildName }}
Expand Down

0 comments on commit 7bf5a08

Please sign in to comment.