Skip to content

Commit 85e4b15

Browse files
committed
Polish workflow yaml
1 parent b0476ce commit 85e4b15

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/build-and-deploy-snapshot.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ concurrency:
77
group: ${{ github.workflow }}-${{ github.ref }}
88
jobs:
99
build-and-deploy-snapshot:
10-
name: Build and Deploy Snapshot
11-
if: ${{ github.repository == 'spring-projects/spring-boot' }}
1210
name: Build and Deploy Snapshot
1311
runs-on: ubuntu22-8-32
12+
if: ${{ github.repository == 'spring-projects/spring-boot' }}
1413
steps:
1514
- name: Set Up Java
1615
uses: actions/setup-java@v4

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ concurrency:
77
group: ${{ github.workflow }}-${{ github.ref }}
88
jobs:
99
ci:
10+
name: '${{ matrix.os.name}} | Java ${{ matrix.java.version}}'
11+
runs-on: ${{ matrix.os.id }}
1012
if: ${{ github.repository == 'spring-projects/spring-boot' }}
1113
strategy:
1214
matrix:
@@ -25,8 +27,6 @@ jobs:
2527
name: Linux
2628
java:
2729
version: 17
28-
name: '${{ matrix.os.name}} | Java ${{ matrix.java.version}}'
29-
runs-on: ${{ matrix.os.id }}
3030
steps:
3131
- name: Set Up Java
3232
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)