Skip to content

Commit 53e4ee7

Browse files
committed
add annotations
1 parent 29ecf6a commit 53e4ee7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/hello_workflow.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
# 工作流名称
12
name: hello_workflow
3+
# 指定工作流执行的条件
24
on: [push]
5+
# 列出所有想要进行的作业(所有作业将并行运行)
36
jobs:
47
print-hello:
8+
# 指定运行环境
59
runs-on: ubuntu-latest
610
steps:
11+
# 将你的代码仓库签出到 runner(工作流运行环境),这样后续的步骤就能读取和操作你的代码仓库
12+
# 参考链接 https://github.com/actions/checkout
713
- uses: actions/checkout@v4
814
- name: Hello world using echo
915
run: echo "$(<hello.txt)"

0 commit comments

Comments
 (0)