From 5bd36d4e76ca3e0dcd0d7858eee9ce9510f220e3 Mon Sep 17 00:00:00 2001 From: Mattia Iavarone Date: Fri, 6 Dec 2019 14:56:02 +0100 Subject: [PATCH] Actions tests --- .github/workflows/build.yml | 16 ++++++++-------- .github/workflows/deploy.yml | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 57ff2dd4..9524a50d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,17 +9,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - with: fetch-depth: 1 - uses: actions/setup-java@v1 - with: java-version: 1.8 + with: + java-version: 1.8 - run: ./gradlew demo:assembleDebug cameraview:javadoc ANDROID_UNIT_TESTS: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - with: fetch-depth: 1 - uses: actions/setup-java@v1 - with: java-version: 1.8 + with: + java-version: 1.8 - run: ./gradlew cameraview:testDebugUnitTest - uses: actions/upload-artifact@v1 with: @@ -33,9 +33,9 @@ jobs: EMULATOR_ARCH: [x86_64] steps: - uses: actions/checkout@v1 - with: fetch-depth: 1 - uses: actions/setup-java@v1 - with: java-version: 1.8 + with: + java-version: 1.8 - uses: reactivecircus/android-emulator-runner@v1 with: api-level: ${{ matrix.EMULATOR_API }} @@ -52,9 +52,9 @@ jobs: needs: [ANDROID_UNIT_TESTS, ANDROID_EMULATOR_TESTS] steps: - uses: actions/checkout@v1 - with: fetch-depth: 1 - uses: actions/setup-java@v1 - with: java-version: 1.8 + with: + java-version: 1.8 - uses: actions/download-artifact@v1 with: name: unit_tests diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e370e03f..a88d3c3e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,7 +9,7 @@ jobs: - BINTRAY_USER: ${{ secrets.BINTRAY_USER }} - BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }} - uses: actions/checkout@v1 - with: fetch-depth: 1 - uses: actions/setup-java@v1 - with: java-version: 1.8 + with: + java-version: 1.8 - run: ./gradlew bintrayUpload