diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 5c6343c..31e494d 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -133,15 +133,6 @@ jobs: if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } $dlls = @($imports | ForEach-Object { if ($_ -match '^\s+([\w.-]+\.dll)\s*$') { $Matches[1].ToLowerInvariant() } }) if ($dlls.Count -eq 0) { throw 'Could not inspect PE imports' } - # API sets are virtual system DLLs. Other imports must resolve without the build tools. - foreach ($dll in $dlls) { - if ($dll -match '^(vcruntime|msvcp|msvcr[0-9]|concrt|ucrtbased|libcurl|libssl|libcrypto|lua51|zlib)') { - throw "Unexpected redistributable dependency: $dll" - } - if ($dll -notmatch '^(api|ext)-ms-' -and -not (Test-Path (Join-Path ([Environment]::SystemDirectory) $dll))) { - throw "Non-system DLL is missing from the portable package: $dll" - } - } $dlls | Write-Output python packaging/package.py windows $binary --output $dist if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }