TangHuan 78b4212e93
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
init
2025-04-02 09:17:27 +08:00

23 lines
750 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: 克隆代码
uses: https://gitea.com/actions/checkout@v4
- name: 准备maven
uses: https://gitea.com/actions/setup-java@v4
with:
distribution: 'dragonwell'
java-version: '17'
- 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 }}."