ci: add arg to use proxy
All checks were successful
ci / build (17, ubuntu-22.04) (push) Successful in 1m23s
All checks were successful
ci / build (17, ubuntu-22.04) (push) Successful in 1m23s
This commit is contained in:
parent
afa51ec0a7
commit
5aaf92fa3d
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user