29 lines
588 B
YAML
29 lines
588 B
YAML
name: Update Gradle build cache
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- '.idea/**'
|
|
- '.gitattributes'
|
|
- '.github/**.json'
|
|
- '.gitignore'
|
|
- '.gitmodules'
|
|
- '**.md'
|
|
- 'LICENSE'
|
|
- 'NOTICE'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-java@v3
|
|
with:
|
|
distribution: temurin
|
|
java-version: 17
|
|
- uses: gradle/gradle-build-action@v2
|
|
with:
|
|
gradle-home-cache-cleanup: true
|
|
- run: ./gradlew assembleDebug
|