Created
March 9, 2020 18:06
-
-
Save lhoyong/9fd7df144af98e882316d2f267945f0d to your computer and use it in GitHub Desktop.
android actions pull request build
This file contains 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: Pull Request | |
on: | |
pull_request: | |
types: [opened, ready_for_review, synchronize] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Debug Build with Gradle | |
run: ./gradlew assembleDebug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment