File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 66jobs :
77 publish :
88 runs-on : windows-latest
9+
910 steps :
1011 - uses : actions/checkout@v4
11-
12- - name : Setup PowerShell 7
13- uses : actions/setup-powershell@v2
14- with :
15- pwsh-version : 7.4.x
16-
1712 - name : Install PSResourceGet
1813 shell : pwsh
1914 run : Install-Module Microsoft.PowerShell.PSResourceGet -Force -Scope CurrentUser
2015
21- - name : Run Pester
16+ - name : Run Pester tests
2217 shell : pwsh
2318 run : Invoke-Pester -CI
2419
25- - name : Publish Module
20+ - name : Publish module
2621 shell : pwsh
2722 env :
2823 PSGALLERY_APIKEY : ${{ secrets.PSGALLERY_APIKEY }}
29- run : Publish-PSResource -Path . -Repository PSGallery -ApiKey $env:PSGALLERY_APIKEY
24+ run : >
25+ Publish-PSResource -Path . `
26+ -Repository PSGallery `
27+ -ApiKey $env:PSGALLERY_APIKEY
You can’t perform that action at this time.
0 commit comments