test/.forgejo/workflows/test4.yml
Workflow config file is invalid. Please check your config file: yaml: line 15: found a tab character that violates indentation
Vikarti Anatra 170b79bf0f
Some checks failed
/ test (push) Waiting to run
/ test_docker (push) Failing after 5s
Обновить .forgejo/workflows/test4.yml
2024-07-24 07:42:29 +00:00

46 lines
2.2 KiB
YAML

name: Android CI
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- run: cat /etc/os-release
- run: uname -a
#- run: whoami
#- run: lscpu
#- run: lsblk -a
#- run: lspci -v
- run: df -h
- name: Prepare system-wide gradle.properties
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
- name: set up JDK 1.8
#uses: actions/setup-java@v1
uses: https://github.com/actions/setup-java@v1
with:
java-version: 1.8
- run: which java
- 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