Skip to content

Test matrix inputs

Test matrix inputs #1

Workflow file for this run

name: Light client benchmark

Check failure on line 1 in .github/workflows/matrix-input.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/matrix-input.yml

Invalid workflow file

Invalid `steps` value - steps should be list of `uses` or `run` items
on:
workflow_dispatch:
inputs:
light-clients:
description: 'Light clients to benchmark, e.g. `aptos,ethereum`'
type: string
required: true
jobs:
benchmark:
name: Light client benchmark
runs-on: ubuntu-latest
strategy:
matrix:
fail-fast: false
package: ${{ fromJSON(${{ inputs.light-clients }}) }}
steps:
name: Echo input
run: |
echo "Package: ${{ matrix.package }}"