Update .gitea/workflows/demo.yaml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s

This commit is contained in:
admin 2025-03-22 12:42:34 +08:00
parent 33517f29b0
commit b22e92c564

View File

@ -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 TemurinOpenJDK 发行版)
# java-version: '17'
# # 3. 构建项目(假设使用 Maven
# - name: Build with Maven
# run: mvn -h
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}