Skip to content

Commit ca7559d

Browse files
authored
update the workflow
1 parent 05b19a9 commit ca7559d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/publishpackage.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ jobs:
3434
recursive: true
3535
files: |
3636
*.ps1
37-
- name: Publish PowerShell Module
38-
uses: natescherer/publish-powershell-action@v1.1.1
37+
- name: Publish Module to PowerShell Gallery
38+
uses: pcgeek86/publish-powershell-module-action@v20
39+
id: publish-module
3940
with:
40-
token: ${{ secrets.NUGETKEY }}
41-
target: gallery
42-
path: code365scripts.openai/code365scripts.openai.psd1
41+
NuGetApiKey: ${{ secrets.NUGETKEY }}

0 commit comments

Comments
 (0)