Fix release publishing (#1343)

This commit is contained in:
Jen Basch
2025-12-03 15:13:31 -08:00
committed by GitHub
parent bcbe1b8995
commit c73fc87583
2 changed files with 6 additions and 3 deletions

7
.github/index.pkl vendored
View File

@@ -184,11 +184,14 @@ release {
jobs =
(releaseJobs) {
["deploy-release"] = (
new DeployJob { command = "publishToSonatype closeAndReleaseSonatypeStagingRepository" }
new DeployJob {
isRelease = true
command = "publishToSonatype closeAndReleaseSonatypeStagingRepository"
}
) {
needs = releaseJobs.keys.toListing()
}
["github-release"] = (new GithubRelease {}) {
["github-release"] = new GithubRelease {
needs = "deploy-release"
}
} |> toWorkflowJobs

2
.github/workflows/release.yml generated vendored
View File

@@ -754,7 +754,7 @@ jobs:
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME }}
run: ./gradlew --info --stacktrace --no-daemon -DpklMultiJdkTesting=true publishToSonatype closeAndReleaseSonatypeStagingRepository
run: ./gradlew --info --stacktrace --no-daemon -DpklMultiJdkTesting=true -DreleaseBuild=true publishToSonatype closeAndReleaseSonatypeStagingRepository
github-release:
needs: deploy-release
permissions: