Skip to content

Refactor start into a reusable workflow. #10

Refactor start into a reusable workflow.

Refactor start into a reusable workflow. #10

Workflow file for this run

name: Test
on:
pull_request:
workflow_dispatch:
jobs:
start_workflow:
name: Start
uses: ./.github/workflows/start.yaml
secrets: inherit
check_output:
name: Check output
needs: start_workflow
# runs-on: ubuntu-latest
runs-on: ${{ needs.start_workflow.outputs.exit_code == 3 && 'ubuntu-20.04' || 'ubuntu-24.04' }}
steps:
- run: "echo Exit code: ${{ needs.start_workflow.outputs.exit_code }}"