File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,9 @@ defaults:
9
9
shell : " pwsh"
10
10
jobs :
11
11
publish-powershell-module-psg :
12
- name : " Publish PowerShell Module - PowerShell Gallery"
13
- runs-on : " windows-latest"
14
- steps :
15
- - name : " Checkout Repository"
16
-
17
- - name : " Setup PowerShell Environment"
18
- uses :
" hugoalh-studio/[email protected] "
19
- with :
20
- toolkit_setup : " false"
21
- - name : " Test Publish"
22
- run : |
23
- Publish-Module -Path '.\hugoalh.GitHubActionsToolkit\' -NugetAPIKey 'GUID' -WhatIf -Verbose
24
- - name : " Publish"
25
- run : |
26
- Publish-Module -Path '.\hugoalh.GitHubActionsToolkit\' -NugetAPIKey '${{secrets.POWERSHELLGALLERY_TOKEN}}' -Verbose
12
+ name : " Publish PowerShell Module - PowerShell Gallery (Reusable Workflow)"
13
+ uses : " hugoalh/hugoalh/.github/workflows/publish-powershell-module-psg.yml@main"
14
+ with :
15
+ path : " .\\ hugoalh.GitHubActionsToolkit\\ "
16
+ secrets :
17
+ POWERSHELLGALLERY_TOKEN : " ${{secrets.POWERSHELLGALLERY_TOKEN}}"
You can’t perform that action at this time.
0 commit comments