From e8064e77b6a7630fadf9e7d936ce61be198e4003 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 8 Nov 2022 21:31:21 +0530 Subject: feat(ci): merge release and debug APK jobs --- .github/workflows/pull_request.yml | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) (limited to '.github/workflows/pull_request.yml') diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 4196b544..f04533b2 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -120,7 +120,7 @@ jobs: - name: Build debug APKs uses: gradle/gradle-build-action@v2.3.3 with: - arguments: assembleFreeDebug assembleNonFreeDebug + arguments: assembleFreeDebug assembleNonFreeDebug assembleNonFreeRelease gradle-home-cache-cleanup: true - name: Upload Kotlin build report @@ -192,37 +192,6 @@ jobs: name: Build report path: build/reports/kotlin-build/ - assemble-release-apks: - needs: [ "check-changed-files" ] - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3.1.0 - with: - fetch-depth: 0 - - - name: Set up JDK - uses: actions/setup-java@v3.6.0 - with: - distribution: temurin - java-version: 18 - - - name: Copy CI gradle.properties - run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties - - - name: Assemble non-free release - uses: gradle/gradle-build-action@v2.3.3 - with: - arguments: aNFR - gradle-home-cache-cleanup: true - - - name: Upload Kotlin build report - if: "${{ always() }}" - uses: actions/upload-artifact@v3.1.1 - with: - name: Build report - path: build/reports/kotlin-build/ - detekt: needs: [ "check-changed-files" ] runs-on: ubuntu-latest -- cgit v1.2.3