Skip to content

Commit ef257a0

Browse files
committed
fix for psm1 import
1 parent eb931de commit ef257a0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/manual-publish-powershell-gallery.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
run: |
4747
# Test module manifest
4848
$manifestPath = "./src/PSBlogger.psd1"
49+
$manifestDefinition = "./src/PSBlogger.psm1"
4950
Write-Host "Testing module manifest at: $manifestPath"
5051
5152
# Test manifest syntax
@@ -65,7 +66,7 @@ jobs:
6566
}
6667
6768
# Test that the module can be imported successfully
68-
Import-Module $manifestPath -Force
69+
Import-Module $manifestDefinition -Force
6970
$loadedModule = Get-Module PSBlogger
7071
Write-Host "Successfully imported module. Exported commands:"
7172
$loadedModule.ExportedCommands.Keys | Sort-Object | ForEach-Object { Write-Host " - $_" }

0 commit comments

Comments
 (0)