File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,10 +38,13 @@ jobs:
3838 - name : Publish
3939 # Note: even though we specify org.gradle.parallel=false in our CI gradle.properties, we want to be explicit
4040 # here about no parallelism to ensure we don't create disjointed staging repositories.
41- run : ./gradlew --no-parallel assemble publish
41+ # Edit: unclear if above note is still possible with the new portal API / plugin implementation.
42+ # Note: --no-configuration-cache is documented as necessary due https://github.com/gradle/gradle/issues/22779
43+ # from https://vanniktech.github.io/gradle-maven-publish-plugin/central/#uploading-with-automatic-publishing
44+ run : ./gradlew --no-parallel --no-configuration-cache assemble publishToMavenCentral
4245 env :
43- ORG_GRADLE_PROJECT_ossrhUsername : ${{ secrets.SONATYPE_USERNAME }}
44- ORG_GRADLE_PROJECT_ossrhPassword : ${{ secrets.SONATYPE_PASSWORD }}
46+ ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
47+ ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
4548 ORG_GRADLE_PROJECT_signingKey : ${{ secrets.CI_AT_DEEPHAVEN_KEY }}
4649 ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.CI_AT_DEEPHAVEN_PASSWORD }}
4750 ORG_GRADLE_PROJECT_signingRequired : true
You can’t perform that action at this time.
0 commit comments