Skip to content

Commit 89270af

Browse files
Simplify job names
Separate the runner name from the OS name.
1 parent 87bc05b commit 89270af

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ permissions: {}
2020

2121
jobs:
2222
build-test:
23-
name: ${{ matrix.os }}
24-
runs-on: ${{ matrix.os }}
23+
name: ${{ matrix.os-name }}
24+
runs-on: ${{ matrix.runner }}
2525

2626
outputs:
2727
dotnet-sdk-version: ${{ steps.setup-dotnet.outputs.dotnet-version }}
@@ -34,14 +34,13 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
os: [ macos-latest, ubuntu-latest, windows-latest ]
3837
include:
39-
- os: macos-latest
40-
os-name: macos
41-
- os: ubuntu-latest
42-
os-name: linux
43-
- os: windows-latest
44-
os-name: windows
38+
- os-name: macos
39+
runner: macos-latest
40+
- os-name: linux
41+
runner: ubuntu-latest
42+
- os-name: windows
43+
runner: windows-latest
4544

4645
steps:
4746

0 commit comments

Comments
 (0)