relax publish-pdc precheck to require S3 only

This commit is contained in:
lincube
2026-04-20 13:09:13 +08:00
parent 81e0081721
commit 8447910fee

View File

@@ -757,9 +757,8 @@ jobs:
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
if ([string]::IsNullOrWhiteSpace($env:S3_ENDPOINT) -or if ([string]::IsNullOrWhiteSpace($env:S3_ENDPOINT) -or
[string]::IsNullOrWhiteSpace($env:S3_BUCKET) -or [string]::IsNullOrWhiteSpace($env:S3_BUCKET)) {
[string]::IsNullOrWhiteSpace($env:PDC_ENDPOINT)) { throw "Missing required S3 variables."
throw "Missing required PDC/S3 variables."
} }
if ([string]::IsNullOrWhiteSpace($env:PDC_SIGNING_KEY)) { if ([string]::IsNullOrWhiteSpace($env:PDC_SIGNING_KEY)) {