diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8776992..eeb33ee 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -150,12 +150,12 @@ jobs: - name: 📦 Import PowerShell Module shell: pwsh run: | - Get-ChildItem -Path output $modulePath = (Get-ChildItem -Path output/*.nupkg -Name) $moduleName = ($modulePath -replace '.nupkg$', '') $moduleDir = "output/$moduleName" Expand-Archive -Path "output/$modulePath" -DestinationPath $moduleDir $moduleManifest = (Get-ChildItem -Path "$moduleDir/*.psd1" -Name) + Get-ChildItem -Path output Import-Module -Name "$moduleDir/$moduleManifest" -Force - name: 📦 Update documentation