Skip to content

Test inputs

Test inputs #2

Workflow file for this run

name: Test inputs
on:
workflow_dispatch:
inputs:
version:
description: 'Test input read'
required: true
default: ${{ readFile('inputs.yaml') }}

Check failure on line 8 in .github/workflows/test_inputs.yaml

View workflow run for this annotation

GitHub Actions / Test inputs

Invalid workflow file

The workflow is not valid. .github/workflows/test_inputs.yaml (Line: 8, Col: 18): Unrecognized function: 'readFile'. Located at position 1 within expression: readFile('inputs.yaml') .github/workflows/test_inputs.yaml (Line: 15, Col: 9): Unexpected value 'echo "Check input value'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Input value
run: |
echo "Check input value: ${{ github.event.inputs.version }}"