Skip to content

Commit 3a56a0b

Browse files
committed
fix: replace Register-PSResourceRepository with Install-Module PSResourceGet in publish workflow
1 parent e62a339 commit 3a56a0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publishpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
env:
2727
nugetkey: ${{secrets.NUGETKEY}}
2828
run: |
29-
Register-PSResourceRepository -PSGallery -Trusted
29+
Install-Module PSResourceGet -Force -Scope CurrentUser
3030
$data = Import-PowerShellDataFile .\code365scripts.openai\code365scripts.openai.psd1
3131
if($data.RequiredModules) {
3232
$data.RequiredModules | Foreach-Object {Install-Module -Name $_.ModuleName -RequiredVersion $_.ModuleVersion }

0 commit comments

Comments
 (0)