From aea582026c36c4147b3c03cd44cc3122638fe9b0 Mon Sep 17 00:00:00 2001 From: Dan Chao Date: Thu, 20 Nov 2025 15:18:53 -0800 Subject: [PATCH] Fix release deploy pipeline Fix downloading of artifacts --- .github/index.pkl | 6 ++---- .github/workflows/release.yml | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/index.pkl b/.github/index.pkl index 0af5a20..49d4b8f 100644 --- a/.github/index.pkl +++ b/.github/index.pkl @@ -20,10 +20,7 @@ import "pkl:semver" import "@gha/actions/Artifact.pkl" import "@gha/actions/Common.pkl" -import "@gha/actions/Setup.pkl" import "@gha/Context.pkl" -import "@gha/Workflow.pkl" -import "@pkl.impl.ghactions/helpers.pkl" import "@pkl.impl.ghactions/jobs/HawkeyeCheck.pkl" import "@pkl.impl.ghactions/steps/SetupPkl.pkl" @@ -292,7 +289,8 @@ release = (prb) { new Common.Checkout {} new Artifact.Download { with { - name = "\(buildArtifactsName)-*" + pattern = "\(buildArtifactsName)-*" + `merge-multiple` = true path = "out" } } diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c62b66..f41c2ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -347,8 +347,9 @@ jobs: - uses: actions/checkout@v5 - uses: actions/download-artifact@v6 with: - name: pkl-swift-build-artifacts-* path: out + pattern: pkl-swift-build-artifacts-* + merge-multiple: true - env: GH_TOKEN: ${{ github.token }} GH_REPO: ${{ github.repository }}