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