From b411d91b3569346b7e377d66b041748e90004691 Mon Sep 17 00:00:00 2001 From: lincube Date: Mon, 20 Apr 2026 15:07:14 +0800 Subject: [PATCH] ci: create pdcc publish root before invoking client --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 193ab13..783b10e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -953,10 +953,12 @@ jobs: $subChannel = ($platformKey -replace '-', '_') + "_release_folderClassic" $env:PDC_SUBCHANNEL = $subChannel + $publishRoot = Join-Path $outRoot "published/$platformKey" + New-Item -ItemType Directory -Path $publishRoot -Force | Out-Null Push-Location $stagedPayloadDir try { - & $client $config Publish $env:PRIMARY_VERSION $env:VERSION (Join-Path $outRoot "published/$platformKey") + & $client $config Publish $env:PRIMARY_VERSION $env:VERSION $publishRoot if ($LASTEXITCODE -ne 0) { throw "PDCC Publish failed for $platformKey." }