Skip to content

Commit 2548581

Browse files
committed
Integration tests for Mac and Windows
1 parent 8ebab0f commit 2548581

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

Diff for: .github/workflows/demo.yml

+19-6
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,15 @@ on:
88

99
jobs:
1010
demo:
11+
strategy:
12+
matrix:
13+
runs-on:
14+
- ubuntu-latest
15+
- macos-latest
16+
- windows-latest
17+
1118
name: Demo
12-
runs-on: ubuntu-latest
19+
runs-on: ${{ matrix.runs-on }}
1320
steps:
1421
- name: Checkout
1522
uses: actions/checkout@v2
@@ -24,9 +31,15 @@ jobs:
2431
version: "tags/v0.1.18"
2532
file: "plague-linux.zip"
2633
target: "subdir/plague-linux.zip"
27-
- name: Display the details
34+
- name: Display the outputs
2835
run: |
29-
echo ${{ steps.get_release.outputs.version }}
30-
echo ${{ steps.get_release.outputs.name }}
31-
echo ${{ steps.get_release.outputs.body }}
32-
ls -l subdir/plague-linux.zip
36+
echo "${{ steps.get_release.outputs.version }}"
37+
echo "${{ steps.get_release.outputs.name }}"
38+
echo "${{ steps.get_release.outputs.body }}"
39+
- name: Display the file (Linux, Mac)
40+
run: ls -l subdir/plague-linux.zip
41+
if: matrix.runs-on != 'windows-latest'
42+
- name: Display the file (Windows)
43+
run: dir subdir/plague-linux.zip
44+
if: matrix.runs-on == 'windows-latest'
45+

0 commit comments

Comments
 (0)