diff --git a/.github/workflows/apk_debug.yml b/.github/workflows/apk_debug.yml index f089df030..a26fb1dc5 100644 --- a/.github/workflows/apk_debug.yml +++ b/.github/workflows/apk_debug.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -25,7 +25,7 @@ jobs: cache: 'gradle' - name: Build debug APK - run: ./gradlew assembleDebug + run: ./gradlew assembleDebug --no-daemon - name: Upload APK uses: actions/upload-artifact@v1 diff --git a/.github/workflows/apk_pr.yml b/.github/workflows/apk_pr.yml index d5b4f85a1..5c33b05d3 100644 --- a/.github/workflows/apk_pr.yml +++ b/.github/workflows/apk_pr.yml @@ -11,10 +11,10 @@ jobs: name: apk_build steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: - ref: refs/pull/${{github.event.pull_request.number}}/merge fetch-depth: 0 + ref: refs/pull/${{github.event.pull_request.number}}/merge - uses: ./.github/actions/checkout_submodules @@ -29,6 +29,7 @@ jobs: run: | echo $KEYSTORE_FILE | base64 -d > app/build.keystore ./gradlew assembleRelease \ + --no-daemon \ -Pandroid.injected.signing.store.file=$(pwd)/app/build.keystore \ -Pandroid.injected.signing.store.password=$KEYSTORE_PASSWORD \ -Pandroid.injected.signing.key.alias=$KEY_ALIAS \ diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 3fa9579ed..b5a22278d 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -22,13 +22,6 @@ jobs: java-version: '17' cache: 'gradle' - # TODO: Without this step, the Gradle check task fails with the following error: - # Execution failed for task ':common:verifyDebugDatabaseMigration'. - # > A failure occurred while executing app.cash.sqldelight.gradle.VerifyMigrationTask$VerifyMigrationAction - # > No suitable driver found for jdbc:sqlite: - # - name: Run verifyDebugDatabase - # run: ./gradlew verifyDebugDatabaseMigration --no-daemon - - name: Run check run: ./gradlew check --no-daemon