This commit is contained in:
10
.gitea/workflows/hello-world.yaml
Normal file
10
.gitea/workflows/hello-world.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
name: Hello World Gitea Action # 这个 Action 的名称
|
||||
|
||||
on: [push] # 指定 Action 触发的事件,这里是每次 push 到仓库时
|
||||
|
||||
jobs:
|
||||
build: # 定义一个名为 build 的 job
|
||||
runs-on: ubuntu-latest # 指定 job 运行的环境,这里使用最新的 Ubuntu 镜像
|
||||
steps: # 定义 job 中执行的步骤
|
||||
- name: Say Hello # 步骤的名称
|
||||
run: echo "Hello from Gitea Actions!" # 要执行的命令
|
||||
Reference in New Issue
Block a user