Change agent to avoid HTTP 504 #38
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: Unit Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ 8, 11 ] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: adopt | |
- name: Run chmod to make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Run unit tests and assemble APKs | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: assembleProdRelease testProdReleaseUnitTest | |
- name: Check Output | |
run: bash ./etc/CheckBuild/check-release.sh test |