Skip to content

Commit c5bbec5

Browse files
Add version testing step to Action-Test workflow
1 parent a26e566 commit c5bbec5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/Action-Test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,11 @@ jobs:
3434
uses: ./
3535
with:
3636
Version: ${{ matrix.version }}
37+
38+
- name: Test version
39+
shell: pwsh
40+
run: |
41+
$PSVersionTable | Format-Table -AutoSize
42+
if ($PSVersionTable.PSVersion -ne '${{ matrix.version }}') {
43+
throw "Failed to install the expected version"
44+
}

0 commit comments

Comments
 (0)