Skip to content

Commit e2a52af

Browse files
committed
Update workflow
1 parent cb4c59a commit e2a52af

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

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

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,10 @@ jobs:
1414
steps:
1515
- name: "Checkout Repository"
1616
uses: "actions/[email protected]"
17-
- name: "Modify PowerShell Repository"
18-
run: |
19-
Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -Verbose
20-
- name: "Setup PowerShellGet"
21-
run: |
22-
Install-Module -Name 'PowerShellGet' -MinimumVersion '2.2.5' -Scope 'AllUsers' -AcceptLicense -Confirm:$False -Verbose
23-
- name: "Update PowerShell Modules"
24-
run: |
25-
Update-Module -Scope 'AllUsers' -AcceptLicense -Confirm:$False -Verbose
17+
- name: "Setup PowerShell Environment"
18+
uses: "hugoalh-studio/[email protected]"
19+
with:
20+
toolkit_setup: "false"
2621
- name: "Test Publish"
2722
run: |
2823
Publish-Module -Path '.\hugoalh.GitHubActionsToolkit\' -NugetAPIKey 'GUID' -WhatIf -Verbose

0 commit comments

Comments
 (0)