Update GitHub CI actions (#5216)

This commit is contained in:
Taco 2021-06-13 07:07:07 -04:00 committed by GitHub
parent b8e311d9d4
commit ccda829f53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 14 deletions

View File

@ -9,10 +9,13 @@ jobs:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: 1.8
distribution: 'adopt'
java-version: '8'
- name: Wrapper validation
uses: gradle/wrapper-validation-action@v1
- name: Build with Gradle
run: ./gradlew assemblePlayDebugAndroidTest
- name: Android Emulator test
@ -21,7 +24,7 @@ jobs:
api-level: 28
disable-animations: true
script: zsh .github/workflows/runTests.sh
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2
if: failure()
with:
name: test-report

View File

@ -1,10 +0,0 @@
name: "Validate Gradle Wrapper"
on: [pull_request]
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1