Skip to content

Commit

Permalink
ci: Install module using PSResourceGet to see if it includes all of t…
Browse files Browse the repository at this point in the history
…he files
  • Loading branch information
deadlydog committed Apr 6, 2024
1 parent b635d8c commit 7d6a280
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ jobs:
Test-ModuleManifest -Path $moduleManifestFilePath
Write-Output "Publishing the prerelease version of the module."
Publish-Module -Path $moduleDirectoryPath -NuGetApiKey '${{ secrets.POWERSHELL_GALLERY_API_KEY }}' -Verbose
Install-Module -Name PSResourceGet -Scope CurrentUser -Repository PSGallery -Force
Publish-PSResource -Path $moduleDirectoryPath -ApiKey '${{ secrets.POWERSHELL_GALLERY_API_KEY }}' -Repository PSGallery -Verbose
- name: Wait a short while for the module to be available on the PowerShell Gallery before continuing
shell: pwsh
Expand Down

0 comments on commit 7d6a280

Please sign in to comment.