File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ amends "pkl:Project"
1818
1919dependencies {
2020 ["pkl.impl.ghactions"] {
21- uri = "package://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@1.3.5 "
21+ uri = "package://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@1.5.0 "
2222 }
2323 ["com.github.actions"] {
2424 uri = "package://pkg.pkl-lang.org/pkl-pantry/com.github.actions@1.3.0"
Original file line number Diff line number Diff line change 1010 },
1111 "package://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@1" : {
1212 "type" : " remote" ,
13- "uri" : " projectpackage://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@1.3.5 " ,
13+ "uri" : " projectpackage://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@1.5.0 " ,
1414 "checksums" : {
15- "sha256" : " 2b26d02c3b244a28e7913457ba195cbf767a1d1079ab2ed469074c4da870de12 "
15+ "sha256" : " 2c1e0d9efcd65b3c3207bf535c325ebc0ec2ab169187b324c4bb70821cac0e51 "
1616 }
1717 },
1818 "package://pkg.pkl-lang.org/pkl-pantry/pkl.experimental.deepToTyped@1" : {
Original file line number Diff line number Diff line change 11//===----------------------------------------------------------------------===//
2- // Copyright © 2025 Apple Inc. and the Pkl project authors. All rights reserved.
2+ // Copyright © 2025-2026 Apple Inc. and the Pkl project authors. All rights reserved.
33//
44// Licensed under the Apache License, Version 2.0 (the "License");
55// you may not use this file except in compliance with the License.
@@ -107,14 +107,14 @@ release = (buildAndTest) {
107107 env {
108108 ["GH_TOKEN" ] = context.github.token
109109 ["GH_REPO" ] = context.github.repository
110+ ["VERSION" ] = context.github.refName
110111 }
111112 run =
112113 #"""
113- gh release create "\#(context.github.refName) " \
114- --title "\#(context.github.refName) " \
115- --target "\#(context.github.sha) " \
114+ gh release create "${VERSION}" \
115+ --title "${VERSION}" \
116116 --verify-tag \
117- --notes "Release notes: https://pkl-lang.org/vscode/current/changelog.html#release-\#(context.github.refName) " \
117+ --notes "Release notes: https://pkl-lang.org/vscode/current/changelog.html#release-${VERSION} " \
118118 .dist/vscode/*.vsix
119119 """#
120120 }
Original file line number Diff line number Diff line change 7575 - name : Trigger pkl-lang.org build
7676 env :
7777 GH_TOKEN : ${{ steps.app-token.outputs.token }}
78+ SOURCE_RUN : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
7879 run : |-
7980 gh workflow run \
8081 --repo apple/pkl-lang.org \
8182 --ref main \
82- --field source_run="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id } }" \
83+ --field source_run="${SOURCE_RUN }" \
8384 main.yml
Original file line number Diff line number Diff line change @@ -74,12 +74,12 @@ jobs:
7474 env :
7575 GH_TOKEN : ${{ github.token }}
7676 GH_REPO : ${{ github.repository }}
77+ VERSION : ${{ github.ref_name }}
7778 run : |-
78- gh release create "${{ github.ref_name }}" \
79- --title "${{ github.ref_name }}" \
80- --target "${{ github.sha }}" \
79+ gh release create "${VERSION}" \
80+ --title "${VERSION}" \
8181 --verify-tag \
82- --notes "Release notes: https://pkl-lang.org/vscode/current/changelog.html#release-${{ github.ref_name } }" \
82+ --notes "Release notes: https://pkl-lang.org/vscode/current/changelog.html#release-${VERSION }" \
8383 .dist/vscode/*.vsix
8484 trigger-downstream-builds :
8585 if : github.repository_owner == 'apple'
9999 - name : Trigger pkl-lang.org build
100100 env :
101101 GH_TOKEN : ${{ steps.app-token.outputs.token }}
102+ SOURCE_RUN : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
102103 run : |-
103104 gh workflow run \
104105 --repo apple/pkl-lang.org \
105106 --ref main \
106- --field source_run="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id } }" \
107+ --field source_run="${SOURCE_RUN }" \
107108 main.yml
You can’t perform that action at this time.
0 commit comments