From 6ffb81c6d4cdf5069063e729fdd60cde9ddddacc Mon Sep 17 00:00:00 2001 From: fehersanyi-bitrise Date: Wed, 29 Jun 2022 10:04:39 +0200 Subject: [PATCH 1/2] [BE-46] Make sure jenv finds at least one valid JAVA installation --- e2e/bitrise.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/bitrise.yml b/e2e/bitrise.yml index f691e81..aa4931f 100644 --- a/e2e/bitrise.yml +++ b/e2e/bitrise.yml @@ -148,7 +148,7 @@ workflows: export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64" envman add --key JAVA_HOME --value "/usr/lib/jvm/java-11-openjdk-amd64" elif [[ "$OSTYPE" == "darwin"* ]]; then - jenv global 11 + jenv global 11 || jenv global 11.0 export JAVA_HOME="$(jenv prefix)" envman add --key JAVA_HOME --value "$(jenv prefix)" fi From e1b8cd5b95295e76330eca159861f2e5571cf5b9 Mon Sep 17 00:00:00 2001 From: fehersanyi-bitrise Date: Wed, 29 Jun 2022 10:12:06 +0200 Subject: [PATCH 2/2] fix linter issue in steps.yml --- step.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/step.yml b/step.yml index 35c7e5c..a93e44f 100644 --- a/step.yml +++ b/step.yml @@ -12,17 +12,14 @@ description: |- 3. Provide your keystore password, keystore alias and private key password to the relevant fields on the **Code Signing** tab. 4. Run your build. - ### Troubleshooting Make sure you have the **Android Sign** Step right after a build Steps but before **Deploy to Google Play** Step in your deploy workflow. If you wish to get your Android project signed automatically, use the **Android Sign** Step and do not set any gradle task for the signing, otherwise, the Step will fail. - ### Useful links - [Android code signing using Android Sign Step](https://devcenter.bitrise.io/code-signing/android-code-signing/android-code-signing-using-bitrise-sign-apk-step/) - [Android deployment](https://devcenter.bitrise.io/deploy/android-deploy/android-deployment-index/) - ### Related Steps - [Android Build](https://www.bitrise.io/integrations/steps/android-build) - [Gradle Runner](https://www.bitrise.io/integrations/steps/gradle-runner)