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 = jobs =
(releaseJobs) { (releaseJobs) {
["deploy-release"] = ( ["deploy-release"] = (
new DeployJob { command = "publishToSonatype closeAndReleaseSonatypeStagingRepository" } new DeployJob {
isRelease = true
command = "publishToSonatype closeAndReleaseSonatypeStagingRepository"
}
) { ) {
needs = releaseJobs.keys.toListing() needs = releaseJobs.keys.toListing()
} }
["github-release"] = (new GithubRelease {}) { ["github-release"] = new GithubRelease {
needs = "deploy-release" needs = "deploy-release"
} }
} |> toWorkflowJobs } |> 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_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD }} ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME }} 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: github-release:
needs: deploy-release needs: deploy-release
permissions: permissions: