Add names to workflow jobs
This commit is contained in:
parent
c3d28ed771
commit
ebf7eedb14
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@ -11,6 +11,9 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Build
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@ -27,8 +30,6 @@ jobs:
|
|||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
tasks: mingwX64Test
|
tasks: mingwX64Test
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Project
|
- name: Checkout Project
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -55,6 +56,9 @@ jobs:
|
|||||||
run: ./gradlew ${{ matrix.tasks }}
|
run: ./gradlew ${{ matrix.tasks }}
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
name: Publish
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
needs: build
|
needs: build
|
||||||
if: github.ref == 'refs/heads/master' && github.event_name == 'push' && needs.build.result == 'success'
|
if: github.ref == 'refs/heads/master' && github.event_name == 'push' && needs.build.result == 'success'
|
||||||
|
|
||||||
@ -92,8 +96,6 @@ jobs:
|
|||||||
publishWatchosSimulatorArm64PublicationToMavenRepository
|
publishWatchosSimulatorArm64PublicationToMavenRepository
|
||||||
publishWatchosX64PublicationToMavenRepository
|
publishWatchosX64PublicationToMavenRepository
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME }}
|
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME }}
|
||||||
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD }}
|
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD }}
|
||||||
|
Loading…
Reference in New Issue
Block a user