Skip to content

Dispatch tests with inputs #13

Dispatch tests with inputs

Dispatch tests with inputs #13

name: "Dispatch tests with inputs"
on:
workflow_dispatch:
inputs:
os:
required: true
description: "Operating system"
type: choice
options:
- 'windows-latest'
- 'ubuntu-20.04'
- 'macos-latest'
matlab-version:
required: true
description: "MATLAB version"
type: choice
options:
- 'R2021a'
- 'R2021b'
- 'R2022a'
- 'R2022b'
- 'R2023a'
- 'R2023b'
- 'R2024a'
julia-version:
required: true
description: "Julia version"
type: choice
options:
- '1.7'
- '1.8'
- '1.9'
- '1.10'
jobs:
test:
uses: ./.github/workflows/run-tests-reusable.yml

Check failure on line 38 in .github/workflows/run-tests-dispatch.yml

View workflow run for this annotation

GitHub Actions / Dispatch tests with inputs

Invalid workflow file

The workflow is not valid. In .github/workflows/run-tests-dispatch.yml (Line: 38, Col: 11): Error from called workflow ASML-Labs/MATFrost.jl/.github/workflows/run-tests-reusable.yml@9277c9b6f876f61a4bbec62f65f7700db946fb6d (Line: 29, Col: 14): Unrecognized named-value: 'env'. Located at position 36 within expression: startsWith(inputs.os, 'ubuntu') && env.UBUNTU_VERSION || inputs.os
secrets: inherit
with:
os: ${{ inputs.os }}
matlab-version: ${{ inputs.matlab-version }}
julia-version: ${{ inputs.julia-version }}