-
-
Save TomerPacific/c304e978678adcb00002b6edf3da023e to your computer and use it in GitHub Desktop.
GitHub Action Android Build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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