diff --git a/.gitea/workflows/hello-world.yaml b/.gitea/workflows/hello-world.yaml new file mode 100644 index 0000000..833be3e --- /dev/null +++ b/.gitea/workflows/hello-world.yaml @@ -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!" # 要执行的命令