Skip to content

Commit 30a953e

Browse files
committed
Update workflow
1 parent fcc9b12 commit 30a953e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ jobs:
1212
steps:
1313
- name: "Checkout Repository"
1414
uses: "actions/[email protected]"
15+
- name: "Change PowerShell Gallery Installation Policy"
16+
run: |
17+
Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted
18+
shell: "pwsh"
1519
- name: "Install PowerShellGet"
1620
run: |
1721
Install-Module -AcceptLicense -Name PowerShellGet -Scope AllUsers -Verbose

0 commit comments

Comments
 (0)