From 8f928f80ab440453f652bcd1c4c986d44b971c01 Mon Sep 17 00:00:00 2001 From: Alessio Greggi Date: Thu, 12 Oct 2023 14:47:27 +0200 Subject: [PATCH] fix: add variable to specify different runner in gh action Signed-off-by: Alessio Greggi --- .github/workflows/sanity-check.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sanity-check.yaml b/.github/workflows/sanity-check.yaml index 48ae257..c78d57e 100644 --- a/.github/workflows/sanity-check.yaml +++ b/.github/workflows/sanity-check.yaml @@ -8,6 +8,9 @@ on: workflow_call: inputs: + GH_RUNNER: + type: string + default: "ubuntu-latest" SYSTEM_TESTS_BRANCH: type: string default: "master" @@ -62,7 +65,7 @@ jobs: matrix: TEST: ${{ fromJson(needs.wf-preparation.outputs.TEST_NAMES) }} needs: wf-preparation - runs-on: ubuntu-large + runs-on: ${{ inputs.GH_RUNNER }} steps: - name: Checkout systests repo