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 3a56a0b commit 65a44eeCopy full SHA for 65a44ee
.github/workflows/publishpackage.yml
@@ -26,12 +26,11 @@ jobs:
26
env:
27
nugetkey: ${{secrets.NUGETKEY}}
28
run: |
29
- Install-Module PSResourceGet -Force -Scope CurrentUser
30
$data = Import-PowerShellDataFile .\code365scripts.openai\code365scripts.openai.psd1
31
if($data.RequiredModules) {
32
$data.RequiredModules | Foreach-Object {Install-Module -Name $_.ModuleName -RequiredVersion $_.ModuleVersion }
33
}
34
Remove-Item -Path ".git" -Recurse -Force
35
Remove-Item -Path ".github" -Recurse -Force
36
Remove-Item -Path ".vscode" -Recurse -Force
37
- Publish-PSResource -ApiKey $env:nugetkey -Path code365scripts.openai -Repository PSGallery
+ Publish-Module -Path code365scripts.openai -NuGetApiKey $env:nugetkey
0 commit comments