Skip to content

Commit bb98527

Browse files
committed
Corrected WorkFlow
1 parent 67af703 commit bb98527

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
@@ -17,11 +17,13 @@ jobs:
1717
run: Install-Module Pester -Force -Scope CurrentUser
1818

1919
- name: Import module
20-
run: Import-Module "$env:GITHUB_WORKSPACE/VSCode-Updater/VSCode-Updater.psm1" -Force
20+
shell: pwsh
21+
run: Import-Module "$env:GITHUB_WORKSPACE/VSCode-Updater.psm1" -Force
2122
- name: Verify module load
23+
shell: pwsh
2224
run: |
23-
Import-Module "$env:GITHUB_WORKSPACE/VSCode-Updater.psd1" -Force
24-
Get-Command Get-SelectedVersionName -ErrorAction SilentlyContinue
25+
Import-Module "$env:GITHUB_WORKSPACE/VSCode-Updater.psm1" -Force
26+
Get-Command Get-SelectedVersionName | Format-List *
2527
2628
- name: Run Tests
2729
shell: pwsh

0 commit comments

Comments
 (0)