File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
packages/pkl.impl.ghactions Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1010 },
1111 "package://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@0" : {
1212 "type" : " local" ,
13- "uri" : " projectpackage://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@0.5 .1" ,
13+ "uri" : " projectpackage://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@0.6 .1" ,
1414 "path" : " ../packages/pkl.impl.ghactions"
1515 }
1616 }
Original file line number Diff line number Diff line change 1717amends "../basePklProject.pkl"
1818
1919package {
20- version = "0.6.0 "
20+ version = "0.6.1 "
2121}
2222
2323dependencies {
Original file line number Diff line number Diff line change @@ -32,11 +32,17 @@ fixed downloadUrl: String = "https://github.com/apple/pkl/releases/download/\(ve
3232fixed step : Workflow .Step = new {
3333 id = "setup-pkl"
3434 shell = "bash"
35+ env {
36+ ["PKL_VERSION" ] = version
37+ ["PKL_FILENAME" ] = "pkl\(fileExtension) "
38+ ["PKL_DOWNLOAD_URL" ] = downloadUrl
39+ }
40+ // language=bash
3541 run =
3642 """
37- DIR=$(mktemp /tmp/pkl-\(version) -XXXXXX)"
38- PKL_EXEC="$DIR/pkl \(fileExtension) "
39- curl -sfL -o $PKL_EXEC "\(downloadUrl) "
43+ DIR=" $(mktemp /tmp/pkl-$PKL_VERSION -XXXXXX)"
44+ PKL_EXEC="$DIR/$PKL_FILENAME "
45+ curl -sfL -o $PKL_EXEC "$PKL_DOWNLOAD_URL "
4046 chmod +x $PKL_EXEC
4147 echo "$DIR" >> "$GITHUB_PATH"
4248 echo "pkl_exec=$PKL_EXEC" >> "$GITHUB_OUTPUT"
You can’t perform that action at this time.
0 commit comments