Skip to content

final successfull commit #4

final successfull commit

final successfull commit #4

name: Run Shell Commands #name for the github actions file

Check failure on line 1 in .github/workflows/first.githubactions.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/first.githubactions.yml

Invalid workflow file

(Line: 10, Col: 9): 'run' is already defined
on: [push]
jobs: #inside jobs keyword we need to efine actions actually command we want to execute
run-shell-command: #action name, this is the command used to run shell commands
runs-on: ubuntu-latest #where we run server runs on commande used to say on which server we run the yaml file unbuntu latest is provided default by git
steps: #if we want to print some text we need to use echo command
- name: Echo a String #name of the command
run: echo "this is first git hub actions file, it's a simple file" #changes just made
run: echo "see if action works correctly"