Add names to workflow jobs

This commit is contained in:
Michael Bull 2024-03-03 14:24:01 +00:00
parent c3d28ed771
commit ebf7eedb14

View File

@ -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 }}