Skip to content

Commit

Permalink
Exclude linux and windows publish tasks from macos job
Browse files Browse the repository at this point in the history
  • Loading branch information
alllex committed Aug 2, 2023
1 parent 797cb1a commit b9a0c27
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
gradle:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
os: [ macos-latest, ubuntu-latest, windows-latest ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -37,8 +37,9 @@ jobs:

- name: Publish the shared and macOS artifacts
if: matrix.os == 'macOS-latest'
run: ./gradlew :publishAllPublicationsToSonatypeRepository --no-parallel
run: ./gradlew :publishAllPublicationsToSonatypeRepository -x :publishMingwX64PublicationToSonatypeRepository -x :publishLinuxX64PublicationToSonatypeRepository --no-parallel
env:
MAIN_PUBLISHER_HOST: true
ORG_GRADLE_PROJECT_signingKeyId: ${{secrets.SIGNING_KEY_ID}}
ORG_GRADLE_PROJECT_signingKey: ${{secrets.SIGNING_KEY}}
ORG_GRADLE_PROJECT_signingPassword: ${{secrets.SIGNING_PASSWORD}}
Expand Down

0 comments on commit b9a0c27

Please sign in to comment.