mirror of
https://github.com/apple/pkl.git
synced 2026-07-02 03:01:45 +02:00
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:
@@ -661,6 +661,10 @@ jobs:
|
|||||||
at: '.'
|
at: '.'
|
||||||
- run:
|
- run:
|
||||||
command: ./gradlew --info --stacktrace publishToSonatype
|
command: ./gradlew --info --stacktrace publishToSonatype
|
||||||
|
- persist_to_workspace:
|
||||||
|
root: '.'
|
||||||
|
paths:
|
||||||
|
- pkl-cli/build/executable/
|
||||||
- run:
|
- run:
|
||||||
command: |-
|
command: |-
|
||||||
mkdir ~/test-results/
|
mkdir ~/test-results/
|
||||||
@@ -680,6 +684,10 @@ jobs:
|
|||||||
at: '.'
|
at: '.'
|
||||||
- run:
|
- run:
|
||||||
command: ./gradlew --info --stacktrace -DreleaseBuild=true publishToSonatype closeAndReleaseSonatypeStagingRepository
|
command: ./gradlew --info --stacktrace -DreleaseBuild=true publishToSonatype closeAndReleaseSonatypeStagingRepository
|
||||||
|
- persist_to_workspace:
|
||||||
|
root: '.'
|
||||||
|
paths:
|
||||||
|
- pkl-cli/build/executable/
|
||||||
- run:
|
- run:
|
||||||
command: |-
|
command: |-
|
||||||
mkdir ~/test-results/
|
mkdir ~/test-results/
|
||||||
|
|||||||
@@ -32,4 +32,11 @@ steps {
|
|||||||
new Config.RunStep {
|
new Config.RunStep {
|
||||||
command = "./gradlew \(self.gradleArgs) \(module.command)"
|
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/"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user