Обновить .forgejo/workflows/test4.yml
Some checks failed
/ test_docker (push) Failing after 51s
Android CI / build (push) Failing after 58s
/ test (push) Has been cancelled

This commit is contained in:
Vikarti Anatra 2024-07-24 07:43:13 +00:00
parent 92d2c3e244
commit 7ba7202f2f

View file

@ -18,8 +18,6 @@ jobs:
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
- 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