mirror of
https://github.com/YuWanTingbb/unofficial-gpt4.git
synced 2025-10-15 14:41:00 +00:00
Update maven-publish.yml
This commit is contained in:
11
.github/workflows/maven-publish.yml
vendored
11
.github/workflows/maven-publish.yml
vendored
@@ -10,17 +10,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# 设置 Java 环境
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin' # 使用 AdoptOpenJDK
|
||||
|
||||
# 构建项目
|
||||
- name: Build with Maven
|
||||
run: mvn clean install
|
||||
|
||||
# 设置 GraalVM 和 native-image
|
||||
- name: Setup GraalVM
|
||||
uses: DeLaGuardo/setup-graalvm@5.0
|
||||
|
Reference in New Issue
Block a user