bug: fix switch and os selector #90
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Validator | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- 'docs/**' | |
jobs: | |
test: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
pwsh: [ '7.1.3' ] | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Display the path | |
shell: pwsh | |
run: echo ${env:PATH} | |
- name: Version Display | |
shell: pwsh | |
run: $PSVersionTable | |
- name: Bootstrap | |
shell: pwsh | |
run: ./actions_bootstrap.ps1 | |
- name: Test and Build | |
shell: pwsh | |
run: Invoke-Build -File .\src\ALZ.build.ps1 | |
- name: Upload pester results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pester-results | |
path: .\src\Artifacts\testOutput | |
if-no-files-found: warn |