Skip to content

Test env context

Test env context #10

Workflow file for this run

name: Test env context
on:
workflow_dispatch:
inputs:
ref:
type: string
default: main
description: "The branch, tag, or SHA to checkout"
jobs:
run:
name: Test env context
runs-on: ubuntu-latest
steps:
- name: test env context
run: |

Check failure on line 15 in .github/workflows/call-test.yml

View workflow run for this annotation

GitHub Actions / Test env context

Invalid workflow file

The workflow is not valid. .github/workflows/call-test.yml (Line: 15, Col: 14): Unexpected symbol: '$test'. Located at position 1 within expression: $test || 'boo'
test=yay
echo "env.test: ${{ $test || 'boo' }}"