File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1212 build :
1313 strategy :
1414 matrix :
15- os : [ macOS-latest, windows-latest ]
15+ os : [ macOS-latest, windows-latest, ubuntu-18.04 ]
1616 runs-on : ${{matrix.os}}
1717 steps :
1818 - name : Checkout the repo
4646 echo "c:\msys64\mingw64\bin" >> $GITHUB_PATH
4747 - name : Publish Mac Artifacts
4848 if : matrix.os == 'macOS-latest'
49- run : ./gradlew publish --no-daemon --stacktrace
49+ run : ./gradlew publishMac --no-daemon --stacktrace
5050 env :
5151 ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME : ${{ secrets.SONATYPE_NEXUS_USERNAME }}
5252 ORG_GRADLE_PROJECT_SONATYPE_NEXUS_PASSWORD : ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
Original file line number Diff line number Diff line change @@ -104,3 +104,6 @@ if(!HostManager.hostIsLinux) {
104104
105105apply (from = " ../gradle/gradle-mvn-mpp-push.gradle" )
106106
107+ tasks.register(" publishMac" ){
108+ setDependsOn(tasks.filter { t -> t.name.startsWith(" publish" ) && t.name.endsWith(" ToMavenRepository" ) && ! t.name.contains(" Linux" ) }.map { it.name })
109+ }
You can’t perform that action at this time.
0 commit comments