Files
hermes 22763250f9
Official Action - checkout / checkout (push) Successful in 5s
Official Contexts / contexts (push) Successful in 1s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
Gitea Actions Demo / python (push) Canceled after 0s
add official Gitea Actions test cases (quickstart/checkout/contexts)
2026-08-03 15:08:16 +08:00

23 lines
1.1 KiB
YAML

# 官方用例 1: Gitea Actions Quickstart 演示流水线(原样)
# 来源: https://docs.gitea.com/usage/actions/quickstart
# 覆盖: gitea.* 上下文渲染 / actions/checkout@v4 官方 action / job.status
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."