File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1-
2- name : CI
1+ on :
32
4- # Controls when the workflow will run
5- on :
3+ push :
4+ branches : ["main"]
65
7- # Triggers the workflow on push or pull request events but for only the main branch
8- push :
9- branches : [main]
10- pull_request :
11- branches : [main]
12- # Allows you to run this workflow manually from the actions tab
13- workflow_dispatch :
6+ pull_request :
7+ branches : ["main"]
148
15- # A workflow run is made up of one or more jobs that run sequentially or in parallkel
9+ # Allows you to run this workflow manually from the Actions tab
10+ workflow_dispatch :
1611
1712jobs :
13+ build :
14+ runs-on : ubuntu-latest
1815
19- build :
16+ # Steps represent a sequence of tasks that will be executed as part of the job
17+ steps :
18+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
19+ - uses : actions/checkout@v3
2020
21- runs-on : ubuntu-latest
21+ # Runs a single com,mand using the runners shell
22+ - name : Run a one-line script
23+ run : echo Hello, world!
24+
25+ # Runs a set of commands using the runners shell
26+ - name : Run a multi-line script
27+ run : |
28+ echo Add other actions to build,
29+ echo test, and deploy your project.
You can’t perform that action at this time.
0 commit comments