mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
feat(ci): merge release and debug APK jobs
This commit is contained in:
33
.github/workflows/pull_request.yml
vendored
33
.github/workflows/pull_request.yml
vendored
@@ -120,7 +120,7 @@ jobs:
|
|||||||
- name: Build debug APKs
|
- name: Build debug APKs
|
||||||
uses: gradle/gradle-build-action@v2.3.3
|
uses: gradle/gradle-build-action@v2.3.3
|
||||||
with:
|
with:
|
||||||
arguments: assembleFreeDebug assembleNonFreeDebug
|
arguments: assembleFreeDebug assembleNonFreeDebug assembleNonFreeRelease
|
||||||
gradle-home-cache-cleanup: true
|
gradle-home-cache-cleanup: true
|
||||||
|
|
||||||
- name: Upload Kotlin build report
|
- name: Upload Kotlin build report
|
||||||
@@ -192,37 +192,6 @@ jobs:
|
|||||||
name: Build report
|
name: Build report
|
||||||
path: build/reports/kotlin-build/
|
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:
|
detekt:
|
||||||
needs: [ "check-changed-files" ]
|
needs: [ "check-changed-files" ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Reference in New Issue
Block a user