File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 2626 steps :
2727 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2828 - uses : actions/checkout@v4
29- # run powershell script to install the powershellextension module
29+ # run powershell script to install the powershellextension module, ensure it can install from powershell gallery
3030 - name : Install PowerShell Extension
31- run : pwsh -Command "Install-Module -Name PowerShellExtension -Force -AllowClobber"
31+ run : |
32+ pwsh -Command "Install-Module -Name PowerShellGet -Force -AllowClobber"
33+ pwsh -Command "Install-Module -Name PowerShellExtension -Force -AllowClobber"
3234 - name : Publish Module to PowerShell Gallery
3335 uses : pcgeek86/publish-powershell-module-action@v20
3436 id : publish-module
You can’t perform that action at this time.
0 commit comments