20 lines
737 B
YAML
20 lines
737 B
YAML
name: Health Test
|
|
run-name: ${{ gitea.actor }} is testing Gitea Actions 🚀
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
health:
|
|
runs-on: aliyun
|
|
container: node:22-alpine
|
|
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 }}"
|