Persist jpkl to the workspace for releases (#314)

This is something that was published to Maven but not as a GitHub release.
 Persist it so that it can go out with a release.
This commit is contained in:
Kushal Pisavadia
2024-03-13 17:00:04 +00:00
committed by Dan Chao
parent f3a93cdd78
commit c8786f61e3
2 changed files with 15 additions and 0 deletions

View File

@@ -661,6 +661,10 @@ jobs:
at: '.'
- run:
command: ./gradlew --info --stacktrace publishToSonatype
- persist_to_workspace:
root: '.'
paths:
- pkl-cli/build/executable/
- run:
command: |-
mkdir ~/test-results/
@@ -680,6 +684,10 @@ jobs:
at: '.'
- run:
command: ./gradlew --info --stacktrace -DreleaseBuild=true publishToSonatype closeAndReleaseSonatypeStagingRepository
- persist_to_workspace:
root: '.'
paths:
- pkl-cli/build/executable/
- run:
command: |-
mkdir ~/test-results/

View File

@@ -32,4 +32,11 @@ steps {
new Config.RunStep {
command = "./gradlew \(self.gradleArgs) \(module.command)"
}
// add jpkl to workspace so it gets published as a GitHub release
new Config.PersistToWorkspaceStep {
root = "."
paths {
"pkl-cli/build/executable/"
}
}
}