Skip to content

Commit 8712c2a

Browse files
committed
🎨 introduce labels for runner images
to be able to specify what is what more easily
1 parent 8a77e2f commit 8712c2a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/cdci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,18 @@ jobs:
125125

126126
build-executable:
127127
name: Build executable
128-
runs-on: ${{ matrix.os }}
128+
runs-on: ${{ matrix.os.runner }}
129129
needs:
130130
- test
131131
- other-reports
132132
strategy:
133133
matrix:
134134
python-version: ["3.11"]
135-
os: ["ubuntu-latest"] #, "macos-13", "macos-latest", "windows-latest",]
135+
os:
136+
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow#example-using-a-multi-dimension-matrix
137+
- runner: "ubuntu-latest"
138+
label: "ubuntu-latest_LTS-x64"
139+
# "macos-13", "macos-latest", "windows-latest",]
136140
steps:
137141
- uses: actions/checkout@v4
138142
- uses: actions/setup-python@v5
@@ -147,5 +151,5 @@ jobs:
147151
- name: Upload executable
148152
uses: actions/upload-artifact@v4
149153
with:
150-
name: vuegen_gui_${{ matrix.os }}
154+
name: vuegen_gui_${{ matrix.os.label }}
151155
path: gui/dist/

0 commit comments

Comments
 (0)