Use packages for CircleCI definition (#95)

This commit is contained in:
Daniel Chao
2024-02-08 09:58:29 -08:00
committed by GitHub
parent 8e6ddfb9b7
commit 9dc7eb2938
6 changed files with 22 additions and 23 deletions
+3 -3
View File
@@ -15,7 +15,7 @@
//===----------------------------------------------------------------------===//
extends "GradleJob.pkl"
import ".../pkl-pantry/packages/com.circleci.v2/CircleCI.pkl"
import "package://pkg.pkl-lang.org/pkl-pantry/com.circleci.v2@1.0.0#/Config.pkl"
local self = this
@@ -28,8 +28,8 @@ job {
}
steps {
new CircleCI.AttachWorkspaceStep { at = "." }
new CircleCI.RunStep {
new Config.AttachWorkspaceStep { at = "." }
new Config.RunStep {
command = "./gradlew \(self.gradleArgs) \(module.command)"
}
}