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