mirror of
https://github.com/YuWanTingbb/unofficial-gpt4.git
synced 2025-10-14 14:11:23 +00:00
Update maven-publish.yml
This commit is contained in:
3
.github/workflows/maven-publish.yml
vendored
3
.github/workflows/maven-publish.yml
vendored
@@ -31,6 +31,9 @@ jobs:
|
||||
graalvm-version: '21.3.0' # Ensure this version is compatible with Java 17
|
||||
java-version: '17'
|
||||
|
||||
- name: Set JAVA_HOME to GraalVM
|
||||
run: echo "JAVA_HOME=$(java -version 2>&1 | awk -F\" '/version/ {print \$2}')-$(uname -s | tr '[:upper:]' '[:lower:]')" | tee -a $GITHUB_ENV
|
||||
|
||||
- name: Set execute permissions for mvnw
|
||||
run: chmod +x ./mvnw
|
||||
|
||||
|
Reference in New Issue
Block a user