Skip to content

Test output

Test output #3

Workflow file for this run

# Test output match
name: Test
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
output-test:
name: Run output test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: gh-pages
- name: Check for cached bench result
id: cached-bench
run: |
if [ -f "dummy-file" ]
then
echo "cached=true" | tee -a $GITHUB_OUTPUTS
else
echo "cached=false" | tee -a $GITHUB_OUTPUTS
fi
- name: Check output
if: {{ steps.cached-bench.outputs.cached == 'false' }}

Check failure on line 31 in .github/workflows/test-output.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test-output.yml (Line: 31, Col: 13): A mapping was not expected
run: |
echo "JSON file does not exist"