mirror of https://github.com/tuskyapp/Tusky.git
4 changed files with 32 additions and 16 deletions
@ -0,0 +1,18 @@ |
|||||||
|
name: 'Setup build environment' |
||||||
|
description: 'Sets up an environment for building Tusky' |
||||||
|
runs: |
||||||
|
using: "composite" |
||||||
|
steps: |
||||||
|
- uses: actions/setup-java@v4 |
||||||
|
with: |
||||||
|
java-version: '21' |
||||||
|
distribution: 'temurin' |
||||||
|
|
||||||
|
- name: Copy CI gradle.properties |
||||||
|
shell: bash |
||||||
|
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties |
||||||
|
|
||||||
|
- name: Gradle Build Action |
||||||
|
uses: gradle/actions/setup-gradle@v4 |
||||||
|
with: |
||||||
|
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }} |
||||||
Loading…
Reference in new issue