mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '3.2.x'
This commit is contained in:
commit
34c60751e9
4
.github/actions/build/action.yml
vendored
4
.github/actions/build/action.yml
vendored
@ -29,7 +29,7 @@ inputs:
|
|||||||
description: 'The password for authentication with the remote build cache'
|
description: 'The password for authentication with the remote build cache'
|
||||||
outputs:
|
outputs:
|
||||||
build-scan-url:
|
build-scan-url:
|
||||||
value: ${{ steps.build.outputs.build-scan-url }}
|
value: ${{ (inputs.publish && steps.build-and-publish.outputs.build-scan-url) || steps.build.outputs.build-scan-url }}
|
||||||
version:
|
version:
|
||||||
value: ${{ steps.read-version.outputs.version }}
|
value: ${{ steps.read-version.outputs.version }}
|
||||||
runs:
|
runs:
|
||||||
@ -62,6 +62,7 @@ runs:
|
|||||||
echo systemProp.org.gradle.java.installations.auto-download=false >> $HOME/.gradle/gradle.properties
|
echo systemProp.org.gradle.java.installations.auto-download=false >> $HOME/.gradle/gradle.properties
|
||||||
echo systemProp.org.gradle.java.installations.paths=${{ format('$JAVA_HOME_{0}_X64', inputs.java-version) }} >> $HOME/.gradle/gradle.properties
|
echo systemProp.org.gradle.java.installations.paths=${{ format('$JAVA_HOME_{0}_X64', inputs.java-version) }} >> $HOME/.gradle/gradle.properties
|
||||||
- name: Build
|
- name: Build
|
||||||
|
id: build
|
||||||
if: ${{ !inputs.publish }}
|
if: ${{ !inputs.publish }}
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
@ -71,6 +72,7 @@ runs:
|
|||||||
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ inputs.gradle-enterprise-cache-password }}
|
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ inputs.gradle-enterprise-cache-password }}
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
- name: Build and Publish
|
- name: Build and Publish
|
||||||
|
id: build-and-publish
|
||||||
if: ${{ inputs.publish }}
|
if: ${{ inputs.publish }}
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
|
@ -16,6 +16,7 @@ jobs:
|
|||||||
- name: Check Out Code
|
- name: Check Out Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Build and Publish
|
- name: Build and Publish
|
||||||
|
id: build-and-publish
|
||||||
uses: ./.github/actions/build
|
uses: ./.github/actions/build
|
||||||
with:
|
with:
|
||||||
gradle-enterprise-secret-access-key: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
|
gradle-enterprise-secret-access-key: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
|
||||||
@ -45,10 +46,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}
|
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}
|
||||||
status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
build-scan-url: ${{ steps.build.outputs.build-scan-url }}
|
build-scan-url: ${{ steps.build-and-publish.outputs.build-scan-url }}
|
||||||
run-name: ${{ format('{0} | Linux | Java 17', github.ref_name) }}
|
run-name: ${{ format('{0} | Linux | Java 17', github.ref_name) }}
|
||||||
outputs:
|
outputs:
|
||||||
version: ${{ steps.build.outputs.version }}
|
version: ${{ steps.build-and-publish.outputs.version }}
|
||||||
verify:
|
verify:
|
||||||
name: Verify
|
name: Verify
|
||||||
needs: build-and-deploy-snapshot
|
needs: build-and-deploy-snapshot
|
||||||
|
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -39,6 +39,7 @@ jobs:
|
|||||||
- name: Check Out Code
|
- name: Check Out Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
|
id: build
|
||||||
uses: ./.github/actions/build
|
uses: ./.github/actions/build
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java.version }}
|
java-version: ${{ matrix.java.version }}
|
||||||
|
Loading…
Reference in New Issue
Block a user