diff --git a/.github/workflows/reusable-test.yml b/.github/workflows/reusable-test.yml index 8487bcb799..f6213c44f5 100644 --- a/.github/workflows/reusable-test.yml +++ b/.github/workflows/reusable-test.yml @@ -73,7 +73,8 @@ jobs: matrix: configurations: ${{ fromJSON(inputs.configurations) }} - runs-on: ${{ (inputs.self-hosted-runner) && fromJSON('[ "self-hosted", " 1ES.Pool=ebpf-cicd-runner-pool-${{ inputs.environment }}"]') || ${{ inputs.environment }} }} + runs-on: ${{ inputs.self-hosted-runner && fromJSON('["self-hosted", "1ES.Pool=ebpf-cicd-runner-pool-' + inputs.environment + '"]') || inputs.environment }} + env: # Configuration type to build. SOURCE_ROOT: ${{github.workspace}}