Skip to content

run-windows-matrix

run-windows-matrix #11

name: run-windows-matrix
on:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019, windows-2022]
fail-fast: false
steps:
- name: Run pwsh
run: |
Get-Content "$env:USERPROFILE/.docker/config.json"
docker
shell: pwsh
- name: append env
shell: pwsh
run: |
$env:PATH
"$env:HOMEPATH/.local/bin" | Out-File -FilePath "$env:GITHUB_PATH" -Append
"show env:PATH"
$env:PATH
"show GHPATH"
$env:GITHUB_PATH
- name: show PATH
shell: pwsh
run: |
"show env:PATH"
$env:PATH
"show GHPATH"
$env:GITHUB_PATH