Skip to content

Commit 0d6c7d5

Browse files
committed
CI: make the job names stable (independent of runner image used)
1 parent f84f3e0 commit 0d6c7d5

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@ on:
1515

1616
jobs:
1717
main:
18-
runs-on: ${{ matrix.environment }}
1918
strategy:
2019
matrix:
2120
environment:
22-
- macos-14
23-
- ubuntu-24.04
24-
- windows-2022
21+
- name: macos
22+
image: macos-14
23+
- name: linux
24+
image: ubuntu-24.04
25+
- name: windows
26+
image: windows-2022
27+
name: main.${{ matrix.environment.name }}
28+
runs-on: ${{ matrix.environment.image }}
2529
env:
2630
DOTNET_NOLOGO: 1
2731
DOTNET_CLI_TELEMETRY_OPTOUT: 1

0 commit comments

Comments
 (0)