Skip to content

Commit 6acc845

Browse files
authored
Create wf_simple.yml
0 parents  commit 6acc845

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/wf_simple.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Simple demo
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the "main" branch
8+
push:
9+
10+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
11+
jobs:
12+
# This workflow contains a single job called "build"
13+
build:
14+
# The type of runner that the job will run on
15+
runs-on: ubuntu-latest
16+
17+
# Steps represent a sequence of tasks that will be executed as part of the job
18+
steps:
19+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
20+
- uses: actions/checkout@v4
21+
22+
# Runs a single command using the runners shell
23+
- name: Run a one-line script
24+
run: echo Hello, world!
25+
26+
# Runs a set of commands using the runners shell
27+
- name: Run a multi-line script
28+
run: |
29+
echo Add other actions to build,
30+
echo test, and deploy your project.

0 commit comments

Comments
 (0)