mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '3.1.x' into 3.2.x
Closes gh-40814
This commit is contained in:
commit
7e74577d21
8
.github/actions/build/action.yml
vendored
8
.github/actions/build/action.yml
vendored
@ -19,7 +19,7 @@ inputs:
|
|||||||
outputs:
|
outputs:
|
||||||
build-scan-url:
|
build-scan-url:
|
||||||
description: 'The URL, if any, of the build scan produced by the build'
|
description: 'The URL, if any, of the build scan produced by the build'
|
||||||
value: ${{ (inputs.publish == 'true' && steps.build-and-publish.outputs.build-scan-url) || steps.build.outputs.build-scan-url }}
|
value: ${{ (inputs.publish == 'true' && steps.publish.outputs.build-scan-url) || steps.build.outputs.build-scan-url }}
|
||||||
version:
|
version:
|
||||||
description: 'The version that was built'
|
description: 'The version that was built'
|
||||||
value: ${{ steps.read-version.outputs.version }}
|
value: ${{ steps.read-version.outputs.version }}
|
||||||
@ -38,13 +38,13 @@ runs:
|
|||||||
env:
|
env:
|
||||||
DEVELOCITY_ACCESS_KEY: ${{ inputs.develocity-access-key }}
|
DEVELOCITY_ACCESS_KEY: ${{ inputs.develocity-access-key }}
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
- name: Build and Publish
|
- name: Publish
|
||||||
id: build-and-publish
|
id: publish
|
||||||
if: ${{ inputs.publish == 'true' }}
|
if: ${{ inputs.publish == 'true' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
DEVELOCITY_ACCESS_KEY: ${{ inputs.develocity-access-key }}
|
DEVELOCITY_ACCESS_KEY: ${{ inputs.develocity-access-key }}
|
||||||
run: ./gradlew -PdeploymentRepository=$(pwd)/deployment-repository build publishAllPublicationsToDeploymentRepository
|
run: ./gradlew -PdeploymentRepository=$(pwd)/deployment-repository ${{ !startsWith(github.event.head_commit.message, 'Next development version') && 'build' || '' }} publishAllPublicationsToDeploymentRepository
|
||||||
- name: Read Version From gradle.properties
|
- name: Read Version From gradle.properties
|
||||||
id: read-version
|
id: read-version
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
Reference in New Issue
Block a user