更新 '.gitea/workflows/build.yaml'
Some checks failed
Explore-Gitea-Actions

This commit is contained in:
Qubot 2023-08-07 10:53:18 +00:00
parent dfd26ebe8b
commit 15f86bf989

View File

@ -8,17 +8,18 @@ jobs:
- name: Checkout
uses: https://github.com/actions/checkout@v3
- name: Set up Maven
uses: https://github.com/stCarolas/setup-maven@v4.5
- name: Install Java
uses: https://github.com/actions/setup-java@v3
# 安装 JDK
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 18
cache: maven
overwrite-settings: true
server-id: example
distribution: 'oracle'
java-version: 17
# 安装 Maven
- name: Setup maven
uses: actions/setup-maven@v4.5
with:
maven-version: 3.8.4
- run: cat ~/.m2/settings.xml