-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPklProject
26 lines (24 loc) · 830 Bytes
/
PklProject
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
amends "pkl:Project"
package {
name = "com.github.action"
baseUri = "package://pkg.pkl-lang.org/github.com/stefma/pkl-gha/\(name)"
version = read?("env:VERSION")?.replaceFirst("\(name)@", "") ?? "0.0.4-SNAPSHOT"
packageZipUrl = "https://github.com/stefma/pkl-gha/releases/download/\(name)@\(version)/\(name)@\(version).zip"
description = "A Pkl template for writing GitHub Action workflows"
authors {
"Stefan M. <[email protected]>"
}
website = "https://github.com/stefma/pkl-gha"
sourceCode = "https://github.com/stefma/pkl-gha"
license = "MIT"
issueTracker = "https://github.com/stefma/pkl-gha/issues"
apiTests = import*("tests/**.pkl").keys.toListing()
exclude {
"LICENSE"
"*.md"
"icon.png"
"examples/**"
"tests/**"
}
}
tests = import*("tests/**.pkl").keys.toListing()