Skip to content

Update first-workflow.yaml #11

Update first-workflow.yaml

Update first-workflow.yaml #11

name: First Workflow
on: [push]
ACTIONS_RUNNER_HOOK_JOB_STARTED: make_workspace_script.sh

Check failure on line 3 in .github/workflows/first-workflow.yaml

View workflow run for this annotation

GitHub Actions / First Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/first-workflow.yaml (Line: 3, Col: 1): Unexpected value 'ACTIONS_RUNNER_HOOK_JOB_STARTED' .github/workflows/first-workflow.yaml (Line: 26, Col: 1): Unexpected value 'ACTIONS_RUNNER_HOOK_JOB_COMPLETED'
jobs:
run-shell-commands:
runs-on: ubuntu-latest
steps:
- name: echo-string
run: echo "Hello World!"
- name: Multiline commands
run: |
node -v
npm -v
parallel-job-mac-os:
runs-on: macos-latest
steps:
- name: View SW Version
run: sw_vers
dependant-job:
runs-on: windows-latest
steps:
- name: Echo a String
run: Write-Output "Windows String"
#- name: Error Step
# run: doesnotexists
ACTIONS_RUNNER_HOOK_JOB_COMPLETED: cleanup_script.sh