We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5740d7e commit b9e3637Copy full SHA for b9e3637
.github/workflows/publishpackage.yml
@@ -46,8 +46,9 @@ jobs:
46
$manifest = Get-ChildItem -Path $moduleFolder -Filter *.psd1 | Select-Object -First 1
47
if (-not $manifest) { throw "No module manifest (*.psd1) found under $moduleFolder" }
48
49
- $mm = Test-ModuleManifest -Path $manifest.FullName
50
- $localVersion = [version]$mm.Version
+ # Parse manifest without validating RequiredModules to avoid CI dependency failures
+ $data = Import-PowerShellDataFile -Path $manifest.FullName
51
+ $localVersion = [version]$data.ModuleVersion
52
# Use manifest base name as module name (matches folder and PSGallery name)
53
$moduleName = $manifest.BaseName
54
0 commit comments