feat(ci): merge release and debug APK jobs
This commit is contained in:
parent
8ca6e510c8
commit
e8064e77b6
1 changed files with 1 additions and 32 deletions
33
.github/workflows/pull_request.yml
vendored
33
.github/workflows/pull_request.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue