Skip to content

Commit 599d157

Browse files
committed
fix: add missing Register-PSResourceRepository step in publish workflow
1 parent 5253d7d commit 599d157

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publishpackage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
nugetkey: ${{secrets.NUGETKEY}}
2828
run: |
2929
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted
30+
Register-PSResourceRepository -PSGallery
3031
$data = Import-PowerShellDataFile .\code365scripts.openai\code365scripts.openai.psd1
3132
if($data.RequiredModules) {
3233
$data.RequiredModules | Foreach-Object {Install-Module -Name $_.ModuleName -RequiredVersion $_.ModuleVersion }

0 commit comments

Comments
 (0)