Skip to content

Commit c83167a

Browse files
committed
Bump pkl.impl.ghactions to version 1.5.0
1 parent 901167b commit c83167a

5 files changed

Lines changed: 16 additions & 14 deletions

File tree

.github/PklProject

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ amends "pkl:Project"
1818

1919
dependencies {
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"

.github/PklProject.deps.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
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": {

.github/index.pkl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
}

.github/workflows/release-branch.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ jobs:
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

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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'
@@ -99,9 +99,10 @@ jobs:
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

0 commit comments

Comments
 (0)