ci: add arg to use proxy
All checks were successful
ci / build (17, ubuntu-22.04) (push) Successful in 1m23s

This commit is contained in:
Wzp-2008 2025-01-12 23:20:42 +08:00
parent afa51ec0a7
commit 5aaf92fa3d

View File

@ -22,7 +22,7 @@ jobs:
- name: setup proxy
run: echo "systemProp.http.proxyHost=192.168.5.6\\nsystemProp.http.proxyPort=7890\\nsystemProp.https.proxyHost=192.168.5.6\\nsystemProp.https.proxyPort=7890" >> gradle.properties
- name: build
run: ./gradlew clean bootJar --no-daemon
run: _JAVA_OPTIONS="-Dhttp.proxyHost=192.168.5.6 -Dhttp.proxyPort=7890 -Dhttps.proxyHost=192.168.5.6 -Dhttps.proxyPort=7890" ./gradlew clean bootJar --no-daemon
- name: capture build artifacts
uses: actions/upload-artifact@v3
with: