jobs:
<job-id>:
runs-on: <github-runner-image>
steps:
- name:
run
uses
Whole github action is as shown below
name: ...
on: ...
jobs: ...
Exercise 1: Create a workflow
This workflow should print “hello how are you” when a new change is pushed to main branch
setup: Ensure vscode is installed and Github Actions extension is installed
Now create a file in .github/workflows/exercise1.yaml with name exercise 1
Filling on:
You are an expert in Github actions
I'm a begineer
I'm understanding on how to use on section in github workflow
Give me an example wait form me understand then go to the next example
Give me most widely use on usages