Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ on:
default: "ubuntu-latest"
required: false
type: string
runner:
description: "JSON-encoded runs-on value (string or array of labels, e.g. '[\"self-hosted\",\"Linux\",\"X64\",\"gpu\"]'). When non-empty it overrides self-hosted/os — use it to build docs on a GPU queue."
default: ""
required: false
type: string
cache:
description: "Use the julia-actions/cache action for caching"
default: true
Expand All @@ -55,7 +60,7 @@ jobs:
tests:
name: "Build and Deploy Documentation"
continue-on-error: ${{ inputs.continue-on-error || inputs.julia-version == 'nightly' }}
runs-on: "${{ inputs.self-hosted && 'self-hosted' || inputs.os }}"
runs-on: ${{ inputs.runner != '' && fromJson(inputs.runner) || (inputs.self-hosted && 'self-hosted' || inputs.os) }}
steps:
- uses: actions/checkout@v6

Expand Down
Loading