Skip to content

Add workflow to define runner name #3

Add workflow to define runner name

Add workflow to define runner name #3

Workflow file for this run

---

Check failure on line 1 in .github/workflows/runs-on-preq.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/runs-on-preq.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: define_runner
name: Create output for `runs-on` variable
on:
workflow_call:
inputs:
runner_env:
description: 'The environment input from caller workflow'
default: 'SMS Lab'
required: True
type: string
outputs:
runner_name_image_build:
description: "Image builder runner name"
value: ${{ jobs.define_runner.outputs.image-build-runner }}
runner_name_aio:
description: "AiO runner name"
value: ${{ jobs.define_runner.outputs.aio-runner }}
jobs:
define_runner:
environment: ${{ inputs.runner_env }}
runs-on: ubuntu-latest
outputs:
image-build-runner: ${{ vars.RUNS_ON_TARGET_IMAGE_BUILDER }}
aio-runner: ${{ vars.RUNS_ON_TARGET_AIO }}