aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-11-08 21:31:21 +0530
committerGitHub <noreply@github.com>2022-11-08 21:31:21 +0530
commite8064e77b6a7630fadf9e7d936ce61be198e4003 (patch)
tree3ab6e8651dd84da70dd2f75c445c4b8929414a72 /.github
parent8ca6e510c87c57b1de9aa7261b849620d22e8aa8 (diff)
feat(ci): merge release and debug APK jobs
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pull_request.yml33
1 files changed, 1 insertions, 32 deletions
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