diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 87d7cf9..ac66407 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -20,26 +20,25 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: - # Dry-deployment +# Dry-deployment check-command: ./gradlew build --parallel -# deploy-command: >- -# ./gradlew -# uploadKotlinOSSRHToMavenCentralNexus -# uploadPluginMavenToMavenCentralNexus -# uploadPluginMarkerMavenToMavenCentralNexus -# close -# drop -# --parallel + deploy-command: >- + ./gradlew + uploadKotlinOSSRHToMavenCentralNexus + uploadPluginMavenToMavenCentralNexus + uploadPluginMarkerMavenToMavenCentralNexus + close + drop + --parallel should-run-codecov: ${{ runner.os == 'Linux' }} - should-deploy: false -# should-deploy: >- -# ${{ -# runner.os == 'Linux' -# && !github.event.repository.fork -# && github.event_name != 'pull_request' -# }} -# maven-central-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }} -# maven-central-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} + should-deploy: >- + ${{ + runner.os == 'Linux' + && !github.event.repository.fork + && github.event_name != 'pull_request' + }} + maven-central-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }} + maven-central-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} signing-key: ${{ secrets.SIGNING_KEY }} signing-password: ${{ secrets.SIGNING_PASSWORD }} release: @@ -79,8 +78,8 @@ jobs: github-token: ${{ github.token }} gradle-publish-secret: ${{ secrets.GRADLE_PUBLISH_SECRET }} gradle-publish-key: ${{ secrets.GRADLE_PUBLISH_KEY }} -# maven-central-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }} -# maven-central-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} + maven-central-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }} + maven-central-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} signing-key: ${{ secrets.SIGNING_KEY }} signing-password: ${{ secrets.SIGNING_PASSWORD }} success: diff --git a/build.gradle.kts b/build.gradle.kts index 32bc0bf..f7aa3b0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -112,8 +112,6 @@ signing { * Publication on Maven Central and the Plugin portal */ publishOnCentral { - configureMavenCentral.set(false) // Waiting for support for new central portal - projectLongName.set(info.longName) projectDescription.set(description ?: TODO("Missing description")) projectUrl.set(info.website)