mirror of
https://github.com/wallabag/android-app.git
synced 2026-05-19 15:10:37 +00:00
151f405e1d
Update according to latest versions of * https://github.com/actions/cache * https://github.com/actions/setup-java * https://github.com/actions/checkout
34 lines
664 B
YAML
34 lines
664 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup Java JDK
|
|
uses: actions/setup-java@v5
|
|
with:
|
|
java-version: '21'
|
|
distribution: 'temurin'
|
|
|
|
- name: Cache Gradle packages
|
|
uses: actions/cache@v5
|
|
with:
|
|
path: |
|
|
~/.gradle/caches
|
|
~/.gradle/wrapper
|
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
|
restore-keys: ${{ runner.os }}-gradle-
|
|
|
|
- name: Build
|
|
run: ./gradlew build
|