Skip to content

Commit 090f562

Browse files
🩹 [Patch]: Update PSResourceGet command to include -Scope AllUsers
1 parent ef73ce7 commit 090f562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ jobs:
290290
- name: Update PSResourceGet
291291
shell: pwsh
292292
run: |
293-
Update-PSResource -Name Microsoft.PowerShell.PSResourceGet -Repository PSGallery -TrustRepository
293+
Update-PSResource -Name Microsoft.PowerShell.PSResourceGet -Repository PSGallery -TrustRepository -Scope AllUsers
294294
295295
- name: Publish module
296296
uses: PSModule/Publish-PSModule@v2

0 commit comments

Comments
 (0)