Skip to content

Commit 357b6f1

Browse files
authored
Use matrix for self-hosted python.yaml workflow
1 parent 542b006 commit 357b6f1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/python.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ on:
66

77
jobs:
88
build:
9-
runs-on: 'ubuntu-latest'
109
strategy:
10+
fail-fast: false
1111
matrix:
1212
python-version: ['3.12']
13-
13+
runner:
14+
- 'ubuntu-latest'
15+
- 'self-hosted'
16+
17+
runs-on: ${{ matrix.runner }}
1418
steps:
1519
- uses: 'actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744' # ratchet:actions/checkout@v3
1620
- name: 'Set up Python ${{ matrix.python-version }}'

0 commit comments

Comments
 (0)