Extract stage-release.yml sub-flow
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
16
.github/workflows/stage-release.yml
vendored
Normal file
16
.github/workflows/stage-release.yml
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user