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:
Marten Seemann
2023-05-01 13:45:30 +02:00
committed by GitHub
parent 172123c340
commit c19e6a71b2
3 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ jobs:
fail-fast: false
matrix:
go: [ "1.19.x", "1.20.x" ]
runs-on: ubuntu-latest
runs-on: ${{ fromJSON(vars['CROSS_COMPILE_RUNNER_UBUNTU'] || '"ubuntu-latest"') }}
name: "Cross Compilation (Go ${{matrix.go}})"
steps:
- uses: actions/checkout@v3