mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Bumps [gradle/actions](https://github.com/gradle/actions) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](31ae3562f6...dbbdc275be
)
---
updated-dependencies:
- dependency-name: gradle/actions
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
See gh-41139
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
name: Build Pull Request
|
|
on: pull_request
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Pull Request
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'spring-projects/spring-boot' }}
|
|
steps:
|
|
- name: Free Disk Space
|
|
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
|
with:
|
|
large-packages: false
|
|
docker-images: false
|
|
- name: Set Up JDK 17
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'liberica'
|
|
- name: Check Out
|
|
uses: actions/checkout@v4
|
|
- name: Validate Gradle Wrapper
|
|
uses: gradle/actions/wrapper-validation@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
|
|
- name: Set Up Gradle
|
|
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
|
|
- name: Build
|
|
env:
|
|
CI: 'true'
|
|
GRADLE_ENTERPRISE_URL: 'https://ge.spring.io'
|
|
run: ./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --no-parallel --continue build
|
|
- name: Print JVM Thread Dumps When Cancelled
|
|
uses: ./.github/actions/print-jvm-thread-dumps
|
|
if: cancelled()
|
|
- name: Upload Build Reports
|
|
uses: actions/upload-artifact@v4
|
|
if: failure()
|
|
with:
|
|
name: build-reports
|
|
path: '**/build/reports/'
|