Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/PklProject
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ amends "pkl:Project"

dependencies {
["pkl.impl.ghactions"] {
uri = "package://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@1.3.5"
uri = "package://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@1.5.0"
}
["com.github.actions"] {
uri = "package://pkg.pkl-lang.org/pkl-pantry/com.github.actions@1.3.0"
Expand Down
4 changes: 2 additions & 2 deletions .github/PklProject.deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"package://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@1": {
"type": "remote",
"uri": "projectpackage://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@1.3.5",
"uri": "projectpackage://pkg.pkl-lang.org/pkl-project-commons/pkl.impl.ghactions@1.5.0",
"checksums": {
"sha256": "2b26d02c3b244a28e7913457ba195cbf767a1d1079ab2ed469074c4da870de12"
"sha256": "2c1e0d9efcd65b3c3207bf535c325ebc0ec2ab169187b324c4bb70821cac0e51"
}
},
"package://pkg.pkl-lang.org/pkl-pantry/pkl.experimental.deepToTyped@1": {
Expand Down
10 changes: 5 additions & 5 deletions .github/index.pkl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//===----------------------------------------------------------------------===//
// Copyright © 2025 Apple Inc. and the Pkl project authors. All rights reserved.
// Copyright © 2025-2026 Apple Inc. and the Pkl project authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -107,14 +107,14 @@ release = (buildAndTest) {
env {
["GH_TOKEN"] = context.github.token
["GH_REPO"] = context.github.repository
["VERSION"] = context.github.refName
}
run =
#"""
gh release create "\#(context.github.refName)" \
--title "\#(context.github.refName)" \
--target "\#(context.github.sha)" \
gh release create "${VERSION}" \
--title "${VERSION}" \
--verify-tag \
--notes "Release notes: https://pkl-lang.org/vscode/current/changelog.html#release-\#(context.github.refName)" \
--notes "Release notes: https://pkl-lang.org/vscode/current/changelog.html#release-${VERSION}" \
.dist/vscode/*.vsix
"""#
}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ jobs:
- name: Trigger pkl-lang.org build
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
SOURCE_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
run: |-
gh workflow run \
--repo apple/pkl-lang.org \
--ref main \
--field source_run="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
--field source_run="${SOURCE_RUN}" \
main.yml
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
VERSION: ${{ github.ref_name }}
run: |-
gh release create "${{ github.ref_name }}" \
--title "${{ github.ref_name }}" \
--target "${{ github.sha }}" \
gh release create "${VERSION}" \
--title "${VERSION}" \
--verify-tag \
--notes "Release notes: https://pkl-lang.org/vscode/current/changelog.html#release-${{ github.ref_name }}" \
--notes "Release notes: https://pkl-lang.org/vscode/current/changelog.html#release-${VERSION}" \
.dist/vscode/*.vsix
trigger-downstream-builds:
if: github.repository_owner == 'apple'
Expand All @@ -99,9 +99,10 @@ jobs:
- name: Trigger pkl-lang.org build
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
SOURCE_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
run: |-
gh workflow run \
--repo apple/pkl-lang.org \
--ref main \
--field source_run="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
--field source_run="${SOURCE_RUN}" \
main.yml
Loading