Skip to content

Commit ff063fd

Browse files
committed
Show package dir on missing files; drop doc checks
Remove LICENSE.txt and NEWS.txt from the required package entries so builds no longer fail when those optional doc files are absent. Also add an ls $packageRoot before throwing the missing-file error to print the package directory contents and aid debugging when required entries are missing.
1 parent 0ec297d commit ff063fd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/build-python.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ jobs:
191191
"$packageRoot\Lib",
192192
"$packageRoot\libs",
193193
"$packageRoot\Scripts",
194-
"$packageRoot\LICENSE.txt",
195-
"$packageRoot\NEWS.txt",
196194
"$packageRoot\python3.dll",
197195
"$packageRoot\python3_d.dll",
198196
"$packageRoot\python312.dll",
@@ -203,6 +201,7 @@ jobs:
203201
)
204202
foreach ($entry in $requiredEntries) {
205203
if (-not (Test-Path $entry)) {
204+
ls $packageRoot
206205
throw "Missing required package entry: $entry"
207206
}
208207
}

0 commit comments

Comments
 (0)