diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bfed92018a..c46206de64 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -214,7 +214,7 @@ jobs: java-version: 21 - uses: gradle/actions/setup-gradle@v3 - - run: ./gradlew publish + - run: ./gradlew publishToMavenCentral env: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 61685f87ab..bb90d862fa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,7 +24,7 @@ jobs: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }} - run: ./gradlew publish dokkaHtmlMultiModule jsBrowserProductionWebpack + run: ./gradlew publishToMavenCentral dokkaHtmlMultiModule jsBrowserProductionWebpack - name: Extract release notes id: release_notes