Update build-tool-packages.yml

This commit is contained in:
aparnajyothi-y
2024-06-25 12:01:07 +05:30
committed by GitHub
parent 9f2090d94f
commit 573683ef3f

View File

@@ -225,7 +225,7 @@ jobs:
env: env:
VERSION: ${{ inputs.tool-version }} VERSION: ${{ inputs.tool-version }}
run: | run: |
Install-Module Pester -Force -Scope -SkipPublisherCheck Install-Module Pester -Force -Scope CurrentUser -SkipPublisherCheck
Import-Module Pester Import-Module Pester
$toolName = (Get-Culture).TextInfo.ToTitleCase("${{ inputs.tool-name }}") $toolName = (Get-Culture).TextInfo.ToTitleCase("${{ inputs.tool-name }}")
Invoke-Pester -Script ./$toolName.Tests.ps1 -EnableExit Invoke-Pester -Script ./$toolName.Tests.ps1 -EnableExit