Skip to content

Commit 58c316b

Browse files
Ajustes do actions do Github
1 parent 470e2bf commit 58c316b

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,22 @@ on:
66
jobs:
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

0 commit comments

Comments
 (0)