1111 strategy :
1212 fail-fast : false
1313 matrix :
14- os : [ubuntu-24.04, macos-13, macos-14 ]
14+ os : [ubuntu-24.04, macos-15 ]
1515 steps :
1616 - name : checkout
1717 uses : actions/checkout@v4
@@ -28,26 +28,13 @@ jobs:
2828 java-version : 22
2929 distribution : temurin
3030
31- # only for NON-releases on macos-13
32- - name : macos-13 lightweight build with Gradle for libs
33- if : ${{ !startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-13') }}
34- run : ./gradlew --warning-mode all publishToMavenLocal
35- # only for releases on macos-13
36- - name : macos-13 lightweight publish with Gradle for libs
37- if : ${{ startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-13') }}
38- run : ./gradlew --no-daemon --warning-mode all publishMacosX64PublicationToMavenCentralRepository publishIosX64PublicationToMavenCentralRepository
39- env :
40- ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
41- ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
42- ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.SIGNING_PASSWORD }}
43- ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.GPG_KEY_CONTENTS }}
44- # only for NON-releases on macos-14
31+ # only for NON-releases on macos-15
4532 - name : macos-14 lightweight build with Gradle for libs and apps
46- if : ${{ !startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-14 ') }}
33+ if : ${{ !startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-15 ') }}
4734 run : ./gradlew --warning-mode all publishToMavenLocal
48- # only for releases on macos-14
35+ # only for releases on macos-15
4936 - name : macos-14 lightweight publish with Gradle for libs and apps
50- if : ${{ startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-14 ') }}
37+ if : ${{ startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-15 ') }}
5138 run : ./gradlew --no-daemon --warning-mode all publishMacosArm64PublicationToMavenCentralRepository PublishIosArm64PublicationToMavenCentralRepository PublishIosSimulatorArm64PublicationToMavenCentralRepository
5239 env :
5340 ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
0 commit comments