Shitter-android-app/.github/workflows/android.yml
2023-05-10 18:49:30 +00:00

33 lines
621 B
YAML

name: Android CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 11
- uses: joschi/setup-jdk@v2
with:
java-version: '11'
architecture: 'x64'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1