ci: change proxy settings to back
All checks were successful
ci / build (17, ubuntu-22.04) (push) Successful in 1m52s
All checks were successful
ci / build (17, ubuntu-22.04) (push) Successful in 1m52s
This commit is contained in:
parent
e46f038fee
commit
369f11479e
9
.github/workflows/ci.yaml
vendored
9
.github/workflows/ci.yaml
vendored
@ -16,10 +16,13 @@ jobs:
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
distribution: 'microsoft'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
- name: make gradle wrapper executable
|
||||
if: ${{ runner.os != 'Windows' }}
|
||||
run: chmod +x ./gradlew
|
||||
- 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: gradle 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