ReaderForSelfoss-multiplatform/.gitea/workflows/common_build/action.yml
aminecmi c18d2c708d
Some checks failed
Check master code / checkMasterCode (push) Failing after 10s
chore: Gitea Action
2024-11-23 21:29:10 +01:00

20 lines
723 B
YAML

name: Build
runs:
using: "composite"
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch tags
run: git fetch --tags -p
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Configure gradle...
run: mkdir -p ~/.gradle && echo "org.gradle.daemon=false\nignoreGitVersion=true\nsystemProp.org.gradle.internal.http.connectionTimeout=180000\nsystemProp.org.gradle.internal.http.socketTimeout=180000" >> ~/.gradle/gradle.properties
- name: Build and test
run: ./gradlew build --stacktrace