From ebf7eedb147b5d3c9f205906c4f5af64f88d1bd5 Mon Sep 17 00:00:00 2001 From: Michael Bull Date: Sun, 3 Mar 2024 14:24:01 +0000 Subject: [PATCH] Add names to workflow jobs --- .github/workflows/ci.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5ff859f..99508cc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,6 +11,9 @@ permissions: jobs: build: + name: Build + runs-on: ${{ matrix.os }} + strategy: matrix: include: @@ -27,8 +30,6 @@ jobs: - os: windows-latest tasks: mingwX64Test - runs-on: ${{ matrix.os }} - steps: - name: Checkout Project uses: actions/checkout@v4 @@ -55,6 +56,9 @@ jobs: run: ./gradlew ${{ matrix.tasks }} publish: + name: Publish + runs-on: ${{ matrix.os }} + needs: build if: github.ref == 'refs/heads/master' && github.event_name == 'push' && needs.build.result == 'success' @@ -92,8 +96,6 @@ jobs: publishWatchosSimulatorArm64PublicationToMavenRepository publishWatchosX64PublicationToMavenRepository - runs-on: ${{ matrix.os }} - env: ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME }} ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD }}