diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 2182cbf..8b8aada 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -18,11 +18,14 @@ jobs: - name: Setup Gradle uses: gradle/gradle-build-action@v2 + - name: Setup Android SDK + uses: android-actions/setup-android@v2 + - name: Run tests env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: ./gradlew allDevicesCheck check coverageReport sonar --no-configuration-cache + run: ./gradlew allDevicesCheck check coverageReport sonar --no-configuration-cache --no-daemon - name: Publish test reports uses: mikepenz/action-junit-report@v3 diff --git a/.github/workflows/sign.yml b/.github/workflows/sign.yml index a06d89e..6172429 100644 --- a/.github/workflows/sign.yml +++ b/.github/workflows/sign.yml @@ -21,6 +21,9 @@ jobs: - name: Setup Gradle uses: gradle/gradle-build-action@v2 + - name: Setup Android SDK + uses: android-actions/setup-android@v2 + - name: Sign APK env: MEALIENT_KEY_STORE: ${{ secrets.MEALIENT_KEY_STORE }} @@ -36,7 +39,7 @@ jobs: echo "storePassword=$MEALIENT_KEY_STORE_PASSWORD" >> keystore.properties echo "keyAlias=$MEALIENT_KEY_ALIAS" >> keystore.properties echo "keyPassword=$MEALIENT_KEY_PASSWORD" >> keystore.properties - ./gradlew build bundle coverageReport sonar uploadToAppSweepRelease --no-configuration-cache + ./gradlew build bundle coverageReport sonar uploadToAppSweepRelease --no-configuration-cache --no-daemon cp app/build/outputs/apk/release/*.apk mealient-release.apk cp app/build/outputs/bundle/release/*.aab mealient-release.aab