File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,19 @@ jobs:
12
12
steps :
13
13
- name : " Checkout Repository"
14
14
15
- - run : |
16
- Install-Module -Force -Name PowerShellGet -Verbose
15
+ - name : " Install PowerShellGet"
16
+ run : |
17
+ Install-Module -Name PowerShellGet -Verbose
17
18
shell : " pwsh"
18
- - run : |
19
- Update-Module -Name PowerShellGet -Verbose
19
+ - name : " Update PowerShell Modules"
20
+ run : |
21
+ Update-Module -Verbose
20
22
shell : " pwsh"
21
- - run : |
23
+ - name : " Test Publish"
24
+ run : |
22
25
Publish-Module -Path .\hugoalh.GitHubActionsToolkit\ -NugetAPIKey 'GUID' -WhatIf -Verbose
23
26
shell : " pwsh"
24
- - run : |
27
+ - name : " Publish"
28
+ run : |
25
29
Publish-Module -Path .\hugoalh.GitHubActionsToolkit\ -NugetAPIKey '${{secrets.POWERSHELLGALLERY_TOKEN}}' -Verbose
26
30
shell : " pwsh"
You can’t perform that action at this time.
0 commit comments