From 85e4b15cca20f66fc5c43913a93429ef3ca2f477 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 27 Mar 2024 12:53:07 -0700 Subject: [PATCH] Polish workflow yaml --- .github/workflows/build-and-deploy-snapshot.yml | 3 +-- .github/workflows/ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-deploy-snapshot.yml b/.github/workflows/build-and-deploy-snapshot.yml index de17ac764ee..872a4f68e4d 100644 --- a/.github/workflows/build-and-deploy-snapshot.yml +++ b/.github/workflows/build-and-deploy-snapshot.yml @@ -7,10 +7,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} jobs: build-and-deploy-snapshot: - name: Build and Deploy Snapshot - if: ${{ github.repository == 'spring-projects/spring-boot' }} name: Build and Deploy Snapshot runs-on: ubuntu22-8-32 + if: ${{ github.repository == 'spring-projects/spring-boot' }} steps: - name: Set Up Java uses: actions/setup-java@v4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c64014a6b15..90469729561 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,8 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} jobs: ci: + name: '${{ matrix.os.name}} | Java ${{ matrix.java.version}}' + runs-on: ${{ matrix.os.id }} if: ${{ github.repository == 'spring-projects/spring-boot' }} strategy: matrix: @@ -25,8 +27,6 @@ jobs: name: Linux java: version: 17 - name: '${{ matrix.os.name}} | Java ${{ matrix.java.version}}' - runs-on: ${{ matrix.os.id }} steps: - name: Set Up Java uses: actions/setup-java@v4