Skip to content

Commit

Permalink
Add names to workflow jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbull committed Mar 3, 2024
1 parent b126371 commit 5ecc34c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ permissions:

jobs:
build:
name: Build
runs-on: ${{ matrix.os }}

strategy:
matrix:
include:
Expand All @@ -27,8 +30,6 @@ jobs:
- os: windows-latest
tasks: mingwX64Test

runs-on: ${{ matrix.os }}

steps:
- name: Checkout Project
uses: actions/checkout@v4
Expand All @@ -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'

Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 5ecc34c

Please sign in to comment.