Skip to content

Instantly share code, notes, and snippets.

@pfieffer
Last active October 20, 2022 05:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfieffer/c493178bfddfdcaa160369fd65560a5c to your computer and use it in GitHub Desktop.
Save pfieffer/c493178bfddfdcaa160369fd65560a5c to your computer and use it in GitHub Desktop.
name: Android Build
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set Up JDK
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Run Tests
run: ./gradlew test
- name: Build Project
run: ./gradlew assemble
@pfieffer
Copy link
Author

Put this on your_project/.github/workflows/ directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment