diff --git a/.github/workflows/maven-publish.yaml b/.github/workflows/maven-publish.yaml index 2b45937..75b645c 100644 --- a/.github/workflows/maven-publish.yaml +++ b/.github/workflows/maven-publish.yaml @@ -7,10 +7,7 @@ on: jobs: build: - strategy: - matrix: - os: [ macos-11, windows-latest ] - runs-on: ${{matrix.os}} + runs-on: macos-11 steps: - name: Checkout uses: actions/checkout@v2 @@ -33,14 +30,9 @@ jobs: restore-keys: | ${{ runner.os }}-konan- - - name: Publish MacOS Artifacts - if: matrix.os == 'macos-11' + - name: Publish run: ./gradlew publishAllPublicationsToMavenRepository - - name: Publish Windows Artifacts - if: matrix.os == 'windows-latest' - run: ./gradlew publishMingwX64PublicationToMavenRepository publishMingwX86PublicationToMavenRepository - env: ORG_GRADLE_PROJECT_repositoryUsername: ${{ secrets.ORG_GRADLE_PROJECT_repositoryUsername }} ORG_GRADLE_PROJECT_repositoryPassword: ${{ secrets.ORG_GRADLE_PROJECT_repositoryPassword }}