ReaderForSelfoss-multiplatform/.gitea/workflows/common_build.yml

24 lines
681 B
YAML
Raw Permalink Normal View History

2024-11-23 14:19:29 +00:00
name: Build
on:
workflow_call:
jobs:
BuildAndTest:
runs-on: ubuntu-latest
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...
2024-12-22 20:05:47 +00:00
run: mkdir -p ~/.gradle && echo "org.gradle.daemon=false\nignoreGitVersion=true" >> ~/.gradle/gradle.properties
2024-11-23 14:19:29 +00:00
- name: Build and test
2024-12-22 20:05:47 +00:00
run: ./gradlew build --stacktrace