Skip to content

Commit

Permalink
Update my_first_workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MonacoFlori authored Jan 11, 2024
1 parent 7ac31ca commit 06f7e19
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/my_first_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
name: Shell commands
on: [push]

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]
matrix:
os: [ubuntu-latest, ubuntu-20.04]
steps:
- name: echo a string
run: echo "Hello World"
- name: multiline scritp
run: |
python3 -V
touch my_file_with_workflow.py
ls -l
- name: echo a string
run: echo "Hello World"
- name: multiline script
run: |
python3 -V
touch my_file_with_workflow.py
ls -l

0 comments on commit 06f7e19

Please sign in to comment.