Skip to content

Testing

Testing #10

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Lint Demo
run-name: Testing
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: "Build with Maven"
steps:
- run: echo "${{ toJson(github) }}"
- run: echo ${GITHUB_REF##*/}
- run: echo "${{ toJson(GITHUB_REF) }}"

Check failure on line 17 in .github/workflows/lint.yaml

View workflow run for this annotation

GitHub Actions / Lint Demo

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yaml (Line: 17, Col: 12): Unrecognized named-value: 'GITHUB_REF'. Located at position 8 within expression: toJson(GITHUB_REF)