Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GitHub Action Android Build
name: Android Build
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set Up JDK // 1
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Change wrapper permissions // 2
run: chmod +x ./gradlew
- name: Run Tests // 3
run: ./gradlew test
- name: Build Project // 4
run: ./gradlew assemble
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment