Skip to content

Commit fd3bf5b

Browse files
committed
Harmonize CI configuration
This commit is a continuation of eacfd77 but for workflows specific to the main branch.
1 parent 3dba68f commit fd3bf5b

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

.github/actions/print-jvm-thread-dumps/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
shell: bash
88
run: |
99
for jvm_pid in $(jps -q -J-XX:+PerfDisableSharedMem); do
10-
jcmd $java_pid Thread.print
10+
jcmd $jvm_pid Thread.print
1111
done
1212
- if: ${{ runner.os == 'Windows' }}
1313
shell: powershell

.github/workflows/build-pull-request.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions:
66

77
jobs:
88
build:
9-
name: Build pull request
9+
name: Build Pull Request
1010
runs-on: ubuntu-latest
1111
if: ${{ github.repository == 'spring-projects/spring-framework' }}
1212
steps:
@@ -15,27 +15,21 @@ jobs:
1515
with:
1616
java-version: '17'
1717
distribution: 'liberica'
18-
19-
- name: Check out code
18+
- name: Check Out
2019
uses: actions/checkout@v4
21-
22-
- name: Validate Gradle wrapper
23-
uses: gradle/wrapper-validation-action@699bb18358f12c5b78b37bb0111d3a0e2276e0e2
24-
25-
- name: Set up Gradle
26-
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5
27-
20+
- name: Validate Gradle Wrapper
21+
uses: gradle/actions/wrapper-validation@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
22+
- name: Set Up Gradle
23+
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
2824
- name: Build
2925
env:
3026
CI: 'true'
3127
GRADLE_ENTERPRISE_URL: 'https://ge.spring.io'
3228
run: ./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --no-parallel --continue build
33-
34-
- name: Print JVM thread dumps when cancelled
29+
- name: Print JVM Thread Dumps When Cancelled
3530
uses: ./.github/actions/print-jvm-thread-dumps
3631
if: cancelled()
37-
38-
- name: Upload build reports
32+
- name: Upload Build Reports
3933
uses: actions/upload-artifact@v4
4034
if: failure()
4135
with:

0 commit comments

Comments
 (0)