From b22e92c56457f38afd4751a1914271158bb6dd7b Mon Sep 17 00:00:00 2001 From: admin <123@123.com> Date: Sat, 22 Mar 2025 12:42:34 +0800 Subject: [PATCH] Update .gitea/workflows/demo.yaml --- .gitea/workflows/demo.yaml | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 52893fe..b39ebb9 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -1,24 +1,13 @@ -name: Java CI - +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 on: [push] jobs: - build: + Explore-Gitea-Actions: runs-on: ubuntu-22.04 steps: - # 1. 检出代码 - - name: Checkout code + - name: Check out repository code uses: http://172.23.112.123:3000/actions/checkout@main - - # # 2. 设置 OpenJDK 17 - # - name: Set up JDK 17 - # uses: http://172.23.112.123:3000/actions/setup-java@main - # with: - # distribution: 'temurin' # 使用 Eclipse Temurin(OpenJDK 发行版) - # java-version: '17' - - # # 3. 构建项目(假设使用 Maven) - # - name: Build with Maven - # run: mvn -h - - \ No newline at end of file + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} \ No newline at end of file