mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-22 17:24:27 +08:00
relax publish-pdc precheck to require S3 only
This commit is contained in:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user