revert 更新 '.gitea/workflows/build.yaml'
This commit is contained in:
parent
15f86bf989
commit
dd5c9d81ae
@ -8,18 +8,17 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
|
||||
# 安装 JDK
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'oracle'
|
||||
java-version: 17
|
||||
- name: Set up Maven
|
||||
uses: https://github.com/stCarolas/setup-maven@v4.5
|
||||
|
||||
# 安装 Maven
|
||||
- name: Setup maven
|
||||
uses: actions/setup-maven@v4.5
|
||||
- name: Install Java
|
||||
uses: https://github.com/actions/setup-java@v3
|
||||
with:
|
||||
maven-version: 3.8.4
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
cache: maven
|
||||
overwrite-settings: true
|
||||
server-id: example
|
||||
|
||||
- run: cat ~/.m2/settings.xml
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user