Skip to content

Commit

Permalink
windows matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ekampf committed Jan 17, 2025
1 parent d0dbf64 commit 902592d
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,20 @@ jobs:
- run: echo "SUCCESS!!! 🤩 This job's status is ${{ job.status }}."

test-windows:
runs-on: windows-latest
strategy:
max-parallel: 4
matrix:
runs-on: [windows-latest, windows-2025, windows-2022, windows-2019]
include:
- runs-on: windows-latest
service-key: SERVICE_KEY_WIN1
- runs-on: windows-2025
service-key: SERVICE_KEY_WIN2
- runs-on: windows-2022
service-key: SERVICE_KEY_WIN3
- runs-on: windows-2019
service-key: SERVICE_KEY_WIN4
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4

Expand All @@ -63,7 +76,7 @@ jobs:
- uses: ./.github/actions/test
with:
service-key: ${{ secrets.SERVICE_KEY_WIN1 }}
service-key: ${{ secrets[matrix.service-key] }}

- name: Access a secure resource
shell: powershell
Expand Down

0 comments on commit 902592d

Please sign in to comment.