diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a2e5731..1786f31f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,11 @@ jobs: run: ./gradlew publish - name: Publish to Maven Central - run: ./gradlew jreleaserFullRelease + run: ./gradlew jreleaserFullRelease -Djreleaser.mavencentral.username=${{ secrets.MAVEN_CENTRAL_USERNAME }} -Djreleaser.mavencentral.password=${{ secrets.MAVEN_CENTRAL_PASSWORD }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish to Gradle Plugin Portal - run: ./gradlew publishPlugins \ No newline at end of file + run: ./gradlew publishPlugins -Dgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} -Dgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index fad7c31b..3848bc7d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -72,7 +72,7 @@ jreleaser { username = properties["mavenCentralUsername"] as? String password = properties["mavenCentralPassword"] as? String applyMavenCentralRules = true - retryDelay = 15 + retryDelay = 20 } create("compiler-plugin") { active = org.jreleaser.model.Active.ALWAYS @@ -81,7 +81,7 @@ jreleaser { username = properties["mavenCentralUsername"] as? String password = properties["mavenCentralPassword"] as? String applyMavenCentralRules = true - retryDelay = 15 + retryDelay = 20 } } } diff --git a/gradle.properties b/gradle.properties index b742408f..dc4548c8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=0.8.0-SNAPSHOT \ No newline at end of file +version=0.8.0 \ No newline at end of file