Skip to content

Commit 05998a2

Browse files
committed
modified manual publish
1 parent 3076fd6 commit 05998a2

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
@@ -65,7 +65,8 @@ jobs:
6565
}
6666
6767
# Test that the module can be imported successfully
68-
Import-Module $manifestPath -Force
68+
$moduleDir = Split-Path $manifestPath
69+
Import-Module $moduleDir -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)