Skip to content

Commit

Permalink
Use only macos for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
russell committed Sep 2, 2024
1 parent f524ffb commit 7e1511b
Showing 1 changed file with 2 additions and 49 deletions.
51 changes: 2 additions & 49 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,7 @@ env:
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}

jobs:
deploy-linux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: JDK setup
uses: actions/setup-java@v3
with:
java-version: 17
distribution: corretto

- name: Linux deploy
run: |
./gradlew publish --no-daemon --stacktrace
deploy-macos:
deploy:
runs-on: macos-latest

steps:
Expand All @@ -39,35 +23,4 @@ jobs:
distribution: corretto

- name: Mac deploy
run: |
./gradlew \
publishIosArm64PublicationToMavenRepository \
publishIosSimulatorArm64PublicationToMavenRepository \
publishIosX64PublicationToMavenRepository \
publishMacosX64PublicationToMavenRepository \
publishMacosArm64PublicationToMavenRepository \
publishWatchosArm32PublicationToMavenRepository \
publishWatchosArm64PublicationToMavenRepository \
publishWatchosDeviceArm64PublicationToMavenRepository \
publishWatchosSimulatorArm64PublicationToMavenRepository \
publishWatchosX64PublicationToMavenRepository \
publishTvosArm64PublicationToMavenRepository \
publishTvosSimulatorArm64PublicationToMavenRepository \
publishTvosX64PublicationToMavenRepository \
--no-daemon --stacktrace
deploy-windows:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: JDK setup
uses: actions/setup-java@v3
with:
java-version: 17
distribution: corretto

- name: Windows deploy
run: |
./gradlew publishMingwX64PublicationToMavenRepository --no-daemon --stacktrace
run: ./gradlew publish --no-daemon --stacktrace

0 comments on commit 7e1511b

Please sign in to comment.