ci: 添加 health test 工作流用于验证 Gitea Actions 运行
This commit is contained in:
18
.gitea/workflows/health-test.yml
Normal file
18
.gitea/workflows/health-test.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Health Test
|
||||
run-name: ${{ gitea.actor }} is testing Gitea Actions 🚀
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
health:
|
||||
runs-on: aliyun
|
||||
steps:
|
||||
- run: echo "🎉 Triggered by ${{ gitea.event_name }} event"
|
||||
- run: echo "🌿 Branch: ${{ gitea.ref }}, Repo: ${{ gitea.repository }}"
|
||||
- run: echo "🐧 Running on ${{ runner.os }}, workspace: ${{ gitea.workspace }}"
|
||||
- name: Check out repository code
|
||||
uses: http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4
|
||||
- run: echo "💡 ${{ gitea.repository }} has been cloned to the runner"
|
||||
- name: List files in the repository
|
||||
run: ls ${{ gitea.workspace }}
|
||||
- run: echo "🍏 Job status: ${{ job.status }}"
|
||||
Reference in New Issue
Block a user