forked from quic-go/quic-go
ci: allow changing runners through config vars (#3783)
* ci: allow changing runners through config vars * fix variable access --------- Co-authored-by: galargh <piotr.galar@gmail.com>
This commit is contained in:
2
.github/workflows/unit.yml
vendored
2
.github/workflows/unit.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
matrix:
|
||||
os: [ "ubuntu", "windows", "macos" ]
|
||||
go: [ "1.19.x", "1.20.x" ]
|
||||
runs-on: ${{ matrix.os }}-latest
|
||||
runs-on: ${{ fromJSON(vars[format('UNIT_RUNNER_{0}', matrix.os)] || format('"{0}-latest"', matrix.os)) }}
|
||||
name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }})
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user