Skip to content

Commit e4226a9

Browse files
🩹 [Patch]: Update workflow to install PSResourceGet instead of updating it
1 parent 090f562 commit e4226a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎.github/workflows/workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ jobs:
290290
- name: Update PSResourceGet
291291
shell: pwsh
292292
run: |
293-
Update-PSResource -Name Microsoft.PowerShell.PSResourceGet -Repository PSGallery -TrustRepository -Scope AllUsers
293+
Get-Module -ListAvailable
294+
Install-PSResource -Name Microsoft.PowerShell.PSResourceGet -Repository PSGallery -TrustRepository -Scope AllUsers
294295
295296
- name: Publish module
296297
uses: PSModule/Publish-PSModule@v2

0 commit comments

Comments
 (0)