File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Publish Module
33on :
44 push :
55 tags :
6- - ' * '
6+ - " * "
77
88 workflow_dispatch :
99
1818 - name : 📥 Checkout
1919 uses : actions/checkout@v4
2020
21- - name : 📦 Install ModuleTools module form PSGallery
22- run : Install-PSResource -Repository PSGallery -Name ModuleTools -TrustRepository
21+ - name : 📦 Install required modules from PSGallery
22+ run : |
23+ Install-PSResource -Repository PSGallery -Name ModuleTools -TrustRepository
24+ Install-PSResource -Repository PSGallery -Name Microsoft.PowerShell.PlatyPS -TrustRepository
2325
2426 - name : 🏗️ Build Module
2527 run : Invoke-MTBuild -Verbose
4547 exit 1 # Fail the workflow on error
4648 }
4749 env :
48- ApiKey : ${{ secrets.PSGALLERY_API }}
50+ ApiKey : ${{ secrets.PSGALLERY_API }}
You can’t perform that action at this time.
0 commit comments