Обновить .forgejo/workflows/test4.yml
This commit is contained in:
parent
92d2c3e244
commit
7ba7202f2f
|
@ -17,9 +17,7 @@ jobs:
|
|||
run: >
|
||||
mkdir ~/.gradle/
|
||||
echo "systemProp.gradle.wrapperPassword=NO_SUCH_PASSWORD \n systemProp.gradle.wrapperUser=NOSUCHUSER_GIT_VRR_VTB123456@corp.dev.vtb \n systemProp.http.nonProxyHosts=localhost|*.org|*.net|*.com|*.io|dl.google.com|*.ai|openrouter.ai|ai-core.viorsan.com|192.168.88.*|*.google|*.ru \n systemProp.http.proxyHost=securevtb4.viorsan.com \n systemProp.http.proxyPort=9999 \n \n systemProp.https.nonProxyHosts=localhost|*.org|*.net|*.com|*.io|dl.google.com|*.ai|openrouter.ai|ai-core.viorsan.com|192.168.88.*|*.google|*.ru \n \n systemProp.https.proxyHost=securevtb4.viorsan.com \n systemProp.https.proxyPort=9999" >> ~/.gradle/gradle.properties
|
||||
cat ~/.gradle/gradle.properties
|
||||
|
||||
# - uses: actions/checkout@v1
|
||||
cat ~/.gradle/gradle.properties
|
||||
- name: set up JDK 1.8
|
||||
#uses: actions/setup-java@v1
|
||||
uses: https://github.com/actions/setup-java@v1
|
||||
|
@ -29,18 +27,6 @@ jobs:
|
|||
- run: java -version
|
||||
- name: Show vars
|
||||
run: echo GITHUB_ACTOR:${GITHUB_ACTOR},echo GITHUB_TOKEN:${GITHUB_TOKEN}, GITHUB_WORKSPACE is ${GITHUB_WORKSPACE}
|
||||
- name Prepare system-wide gradle.properties
|
||||
#run: mkdir ~/.gradle/
|
||||
run: | cat > ~/.gradle/gradle.properties<< EOF
|
||||
systemProp.gradle.wrapperPassword=NO_SUCH_PASSWORD
|
||||
systemProp.gradle.wrapperUser=NOSUCHUSER_GIT_VRR_VTB123456@corp.dev.vtb
|
||||
systemProp.http.nonProxyHosts=localhost|*.org|*.net|*.com|*.io|dl.google.com|*.ai|openrouter.ai|ai-core.viorsan.com|192.168.88.*|*.google|*.ru
|
||||
systemProp.http.proxyHost=securevtb4.viorsan.com
|
||||
systemProp.http.proxyPort=9999
|
||||
systemProp.https.nonProxyHosts=localhost|*.org|*.net|*.com|*.io|dl.google.com|*.ai|openrouter.ai|ai-core.viorsan.com|192.168.88.*|*.google|*.ru
|
||||
systemProp.https.proxyHost=securevtb4.viorsan.com
|
||||
systemProp.https.proxyPort=9999
|
||||
EOF
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew assembleDebug
|
||||
|
Loading…
Reference in a new issue