Skip to content

Commit 6270612

Browse files
committed
install PlatyPS during github action
1 parent 697b774 commit 6270612

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/Tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ jobs:
2020
- name: 📥 Checkout
2121
uses: actions/checkout@v4
2222

23-
- name: 📦 Install ModuleTools module form PSGallery
24-
run: Install-PSResource -Repository PSGallery -Name ModuleTools -TrustRepository
23+
- name: 📦 Install required modules from PSGallery
24+
run: |
25+
Install-PSResource -Repository PSGallery -Name ModuleTools -TrustRepository
26+
Install-PSResource -Repository PSGallery -Name Microsoft.PowerShell.PlatyPS -TrustRepository
2527
2628
- name: 🏗️ Build Module
2729
run: Invoke-MTBuild -Verbose
@@ -36,4 +38,4 @@ jobs:
3638
$Report = New-MDHeader -Text "Output Files 📁" -Level 2
3739
$Report += Get-ChildItem -Path ./dist -Recurse | Select-Object Name, Directory | New-MDTable
3840
echo "$Report" >> $env:GITHUB_STEP_SUMMARY
39-
echo "$Report"
41+
echo "$Report"

0 commit comments

Comments
 (0)