Skip to content

Update my_first_workflow.yml #3

Update my_first_workflow.yml

Update my_first_workflow.yml #3

name: Shell commands
on: [push]
jobs:
run-shell-command:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ubuntu-20.04]
steps:
- name: echo a string

Check failure on line 10 in .github/workflows/my_first_workflow.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/my_first_workflow.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
run: echo "Hello World"
- name: multiline scritp
run: |
python3 -V
touch my_file_with_workflow.py
ls -l