Skip to content

Commit

Permalink
Let publishing of Automotive fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
JBassett committed Apr 1, 2023
1 parent 66b86b5 commit b22eb71
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
./app/build/outputs/apk/full/release/app-full-release.apk
./app/build/outputs/apk/minimal/release/app-minimal-release.apk
./wear/build/outputs/apk/release/wear-release.apk
./app/build/outputs/apk/automotive/release/automotive-full-release.apk
./automotive/build/outputs/apk/full/release/automotive-full-release.apk
- name: Deploy to Firebase
env:
Expand Down Expand Up @@ -156,4 +156,6 @@ jobs:
KEYSTORE_ALIAS_PASSWORD: ${{ secrets.UPLOAD_KEYSTORE_ALIAS_PASSWORD }}
VERSION: ${{ steps.rel_number.outputs.version }}
VERSION_CODE: ${{ steps.rel_number.outputs.version-code }}
run: ./gradlew publishReleaseBundle
run: |
./gradlew :wear:publishReleaseBundle :app:publishReleaseBundle
./gradlew :automotive:publishReleaseBundle || echo "Failed to publish Automotive!"
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
./app/build/outputs/apk/full/release/app-full-release.apk
./app/build/outputs/apk/minimal/release/app-minimal-release.apk
./wear/build/outputs/apk/release/wear-release.apk
./app/build/outputs/apk/automotive/release/automotive-full-release.apk
./automotive/build/outputs/apk/full/release/automotive-full-release.apk
./app/build/outputs/version_code.txt
- name: Deploy to Firebase
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
KEYSTORE_ALIAS_PASSWORD: ${{ secrets.UPLOAD_KEYSTORE_ALIAS_PASSWORD }}
VERSION: ${{ steps.rel_number.outputs.version }}
VERSION_CODE: ${{ steps.rel_number.outputs.version-code }}
run: ./gradlew publishReleaseBundle
run: ./gradlew :wear:publishReleaseBundle :app:publishReleaseBundle

- name: Promote to Internal to Beta
env:
Expand Down
1 change: 0 additions & 1 deletion automotive/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ plugins {
id("kotlin-android")
id("kotlin-kapt")
id("kotlin-parcelize")
id("com.google.firebase.appdistribution")
id("com.github.triplet.play")
id("com.google.gms.google-services")
kotlin("kapt")
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
org.gradle.jvmargs=-Xmx4608m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
Expand Down

0 comments on commit b22eb71

Please sign in to comment.