Skip to content

Commit 0f34570

Browse files
committed
Update workflow
1 parent b3b798c commit 0f34570

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/publish-psg-module.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,19 @@ jobs:
1212
steps:
1313
- name: "Checkout Repository"
1414
uses: "actions/[email protected]"
15-
- run: |
16-
Install-Module -Force -Name PowerShellGet -Verbose
15+
- name: "Install PowerShellGet"
16+
run: |
17+
Install-Module -Name PowerShellGet -Verbose
1718
shell: "pwsh"
18-
- run: |
19-
Update-Module -Name PowerShellGet -Verbose
19+
- name: "Update PowerShell Modules"
20+
run: |
21+
Update-Module -Verbose
2022
shell: "pwsh"
21-
- run: |
23+
- name: "Test Publish"
24+
run: |
2225
Publish-Module -Path .\hugoalh.GitHubActionsToolkit\ -NugetAPIKey 'GUID' -WhatIf -Verbose
2326
shell: "pwsh"
24-
- run: |
27+
- name: "Publish"
28+
run: |
2529
Publish-Module -Path .\hugoalh.GitHubActionsToolkit\ -NugetAPIKey '${{secrets.POWERSHELLGALLERY_TOKEN}}' -Verbose
2630
shell: "pwsh"

0 commit comments

Comments
 (0)