test/.forgejo/workflows/test4.yml
Workflow config file is invalid. Please check your config file: yaml: line 8: did not find expected '-' indicator
Vikarti Anatra 9b95280b60
Some checks failed
/ test (push) Waiting to run
/ test_docker (push) Failing after 5s
Обновить .forgejo/workflows/test4.yml
2024-07-24 07:05:10 +00:00

40 lines
1.4 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
# - 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