Run GitHub release in parallel with Maven (#1928)

This commit is contained in:
Daniel Chao authored and GitHub committed 2026-10-21 15:09:53 -07:00
1 parent 95d7a4bcc9
commit ac0d9f1d31
3 files changed
+23 -3

No files matched your search

+1 -1
View File
@@ -227,7 +227,7 @@ release {
needs = releaseJobs.keys.toListing() needs = releaseJobs.keys.toListing()
} }
["github-release"] = new GithubRelease { ["github-release"] = new GithubRelease {
needs = "deploy-release" needs = releaseJobs.keys.toListing()
} }
} |> toWorkflowJobs } |> toWorkflowJobs
} }
+1 -1
View File
@@ -10,7 +10,7 @@ fixed job {
permissions { permissions {
contents = "write" contents = "write"
} }
needs = "deploy-release" needs = module.needs
steps { steps {
(catalog.`actions/download-artifact@v6`) { (catalog.`actions/download-artifact@v6`) {
with { with {
+21 -1
View File
@@ -1252,7 +1252,27 @@ jobs:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME }} ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME }}
run: ./gradlew $DEBUG_ARGS --no-daemon -DpklMultiJdkTesting=true -DreleaseBuild=true publishToSonatype closeAndReleaseSonatypeStagingRepository run: ./gradlew $DEBUG_ARGS --no-daemon -DpklMultiJdkTesting=true -DreleaseBuild=true publishToSonatype closeAndReleaseSonatypeStagingRepository
github-release: github-release:
needs: deploy-release needs:
- gradle-check
- gradle-check-windows
- bench
- gradle-compatibility
- java-executables-release
- pkl-cli-linux-amd64-release
- pkl-cli-linux-aarch64-release
- pkl-cli-macOS-aarch64-release
- pkl-cli-alpine-linux-amd64-release
- pkl-cli-windows-amd64-release
- pkl-doc-linux-amd64-release
- pkl-doc-linux-aarch64-release
- pkl-doc-macOS-aarch64-release
- pkl-doc-alpine-linux-amd64-release
- pkl-doc-windows-amd64-release
- libpkl-linux-amd64-release
- libpkl-linux-aarch64-release
- libpkl-macOS-aarch64-release
- libpkl-alpine-linux-amd64-release
- libpkl-windows-amd64-release
permissions: permissions:
contents: write contents: write
runs-on: ubuntu-latest runs-on: ubuntu-latest