Skip to content

Commit b9e3637

Browse files
committed
update workflow gpt5
1 parent 5740d7e commit b9e3637

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publishpackage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ jobs:
4646
$manifest = Get-ChildItem -Path $moduleFolder -Filter *.psd1 | Select-Object -First 1
4747
if (-not $manifest) { throw "No module manifest (*.psd1) found under $moduleFolder" }
4848
49-
$mm = Test-ModuleManifest -Path $manifest.FullName
50-
$localVersion = [version]$mm.Version
49+
# Parse manifest without validating RequiredModules to avoid CI dependency failures
50+
$data = Import-PowerShellDataFile -Path $manifest.FullName
51+
$localVersion = [version]$data.ModuleVersion
5152
# Use manifest base name as module name (matches folder and PSGallery name)
5253
$moduleName = $manifest.BaseName
5354

0 commit comments

Comments
 (0)