Skip to content

Commit 2da77ba

Browse files
committed
Changing test workflow to matrix
1 parent 5313db3 commit 2da77ba

File tree

2 files changed

+5
-29
lines changed

2 files changed

+5
-29
lines changed

.github/workflows/test-ubuntu.yml renamed to .github/workflows/test-matrix.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ on:
77
jobs:
88
# test action works running from the graph
99
test:
10-
runs-on: ubuntu-latest
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, windows-latest]
1114
steps:
1215
- name: Checkout
1316
uses: actions/checkout@v1
@@ -23,5 +26,5 @@ jobs:
2326
- name: Upload Artifact
2427
uses: actions/upload-artifact@master
2528
with:
26-
name: 'final-file.txt'
29+
name: 'final-file-${{ matrix.os }}.txt'
2730
path: ${{ steps.write_file.outputs.filePath }}

.github/workflows/test-windows.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)