diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c58d451..2ed8301 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,34 +17,15 @@ jobs: - name: Checkout uses: actions/checkout@v2.4.0 - name: Setup JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v2.5.0 with: - java-version: '1.8' + distribution: 'temurin' + java-version: '11' - name: Set execution flag for gradlew run: chmod +x gradlew - name: Unit tests run: bash ./gradlew test --stacktrace - build: - name: Upload APK to App Tester - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2.4.0 - - name: Setup JDK - uses: actions/setup-java@v1 - with: - java-version: '1.8' - - name: build release - run: bash ./gradlew assembleDebug - - name: upload artifact to Firebase App Distribution - uses: wzieba/Firebase-Distribution-Github-Action@v1.2.2 - with: - appId: '1:822399718607:android:dea7dfcf6d8768341dd3ba' - token: '1//0gMhKE9eX516XCgYIARAAGBASNwF-L9IrMkKn4kwv_xReaikQYJHWO5smvmcIts8LDgF700LkDxQK6z187BIzIC66mAG0DAzy_sE' - groups: feedbackprimetester - file: app/build/outputs/apk/debug/app-debug.apk - apk: name: Generate APK runs-on: ubuntu-latest @@ -52,9 +33,10 @@ jobs: steps: - uses: actions/checkout@v2.4.0 - name: Setup JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v2.5.0 with: - java-version: '1.8' + distribution: 'temurin' + java-version: '11' - name: Set execution flag for gradlew run: chmod +x gradlew - name: Build debug APK