diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6673fcab..2ebea18a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ on: jobs: release: - uses: spring-projects/spring-integration-aws/.github/workflows/spring-release.yml@main + uses: spring-projects/spring-integration-aws/.github/workflows/spring-artifactory-release.yml@main with: releaseVersion: ${{ inputs.releaseVersion }} repositoryTeam: artembilan,garyrussell diff --git a/.github/workflows/spring-release.yml b/.github/workflows/spring-artifactory-release.yml similarity index 93% rename from .github/workflows/spring-release.yml rename to .github/workflows/spring-artifactory-release.yml index 155c8fc7..d1a67913 100644 --- a/.github/workflows/spring-release.yml +++ b/.github/workflows/spring-artifactory-release.yml @@ -19,7 +19,7 @@ env: jobs: staging: - uses: spring-projects/spring-integration-aws/.github/workflows/spring-artifactory-gradle-release-staging.yml@main + uses: ./.github/workflows/stage-release.yml with: releaseVersion: ${{ inputs.releaseVersion }} secrets: inherit diff --git a/.github/workflows/stage-release.yml b/.github/workflows/stage-release.yml new file mode 100644 index 00000000..1d77d9cb --- /dev/null +++ b/.github/workflows/stage-release.yml @@ -0,0 +1,16 @@ +name: Stage Release with Gradle to Artifactory + +on: + workflow_call: + inputs: + releaseVersion: + description: 'Release version like 3.0.0-M1, 3.1.0-RC1, 3.2.0 etc.' + required: true + type: string + +jobs: + staging: + uses: spring-projects/spring-integration-aws/.github/workflows/spring-artifactory-gradle-release-staging.yml@main + with: + releaseVersion: ${{ inputs.releaseVersion }} + secrets: inherit \ No newline at end of file