Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.

Commit 19f2e0a

Browse files
Add step to update Microsoft.PowerShell.PSResourceGet and update download-artifact action version
1 parent de0ed31 commit 19f2e0a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ runs:
8080
- name: Install-PSModuleHelpers
8181
uses: PSModule/Install-PSModuleHelpers@d60d63e4be477d1ca0c67c6085101fb109bce8f1 # v1.0.6
8282

83+
- name: Update Microsoft.PowerShell.PSResourceGet
84+
shell: pwsh
85+
run: |
86+
Install-PSResource -Name Microsoft.PowerShell.PSResourceGet -Repository PSGallery -TrustRepository
87+
8388
- name: Initialize Publish Context
8489
id: init
8590
shell: pwsh
@@ -101,7 +106,7 @@ runs:
101106

102107
- name: Download module artifact
103108
if: env.PUBLISH_CONTEXT_ShouldPublish == 'true' || inputs.WhatIf == 'true'
104-
uses: actions/download-artifact@v4
109+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
105110
with:
106111
name: module
107112
path: ${{ inputs.ModulePath }}

0 commit comments

Comments
 (0)