Update my_first_workflow.yml #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Shell commands | |
on: | |
push: | |
# This workflow will be triggered on push events | |
jobs: | |
run-shell-command: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, ubuntu-20.04] | |
steps: | |
- name: echo a string | |
run: echo "Hello World" | |
- name: multiline script | |
run: | | |
python3 -V | |
touch my_file_with_workflow.py | |
ls -l | |