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 b635d8c commit 7d6a280Copy full SHA for 7d6a280
.github/workflows/build-test-and-deploy-powershell-module.yml
@@ -48,7 +48,8 @@ jobs:
48
Test-ModuleManifest -Path $moduleManifestFilePath
49
50
Write-Output "Publishing the prerelease version of the module."
51
- Publish-Module -Path $moduleDirectoryPath -NuGetApiKey '${{ secrets.POWERSHELL_GALLERY_API_KEY }}' -Verbose
+ Install-Module -Name PSResourceGet -Scope CurrentUser -Repository PSGallery -Force
52
+ Publish-PSResource -Path $moduleDirectoryPath -ApiKey '${{ secrets.POWERSHELL_GALLERY_API_KEY }}' -Repository PSGallery -Verbose
53
54
- name: Wait a short while for the module to be available on the PowerShell Gallery before continuing
55
shell: pwsh
0 commit comments