Update .gitea/workflows/demo.yaml
All checks were successful
Java CI / build (push) Successful in 3s

This commit is contained in:
admin 2025-03-22 12:39:10 +08:00
parent d8d62518b1
commit 33517f29b0

View File

@ -10,15 +10,15 @@ jobs:
- name: Checkout code - name: Checkout code
uses: http://172.23.112.123:3000/actions/checkout@main uses: http://172.23.112.123:3000/actions/checkout@main
# 2. 设置 OpenJDK 17 # # 2. 设置 OpenJDK 17
- name: Set up JDK 17 # - name: Set up JDK 17
uses: http://172.23.112.123:3000/actions/setup-java@main # uses: http://172.23.112.123:3000/actions/setup-java@main
with: # with:
distribution: 'temurin' # 使用 Eclipse TemurinOpenJDK 发行版) # distribution: 'temurin' # 使用 Eclipse TemurinOpenJDK 发行版)
java-version: '17' # java-version: '17'
# 3. 构建项目(假设使用 Maven # # 3. 构建项目(假设使用 Maven
- name: Build with Maven # - name: Build with Maven
run: mvn -h # run: mvn -h