Continuous Delivery for Android Using GitHub Actions | raywenderlich.com

Learn how to create a continuous delivery pipeline in Android to deploy your apps to the Google Play Store.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/19407406-continuous-delivery-for-android-using-github-actions

Thanks for great tutorial.
I follow the steps and get signed apk.
But I cannot not find the mapping.txt file.
Can you help to check it, please?

Run actions/upload-artifact@master

with:
name: mapping.txt
path: app/build/outputs/mapping/release/mapping.txt
if-no-files-found: warn
env:
SIGNED_RELEASE_FILE: app/build/outputs/apk/release/app-release-unsigned-signed.apk
Warning: No files were found with the provided path: app/build/outputs/mapping/release/mapping.txt. No artifacts will be uploaded.

Hi,

Can you please check if minifyEnabled is set to true inside app/build.gradle.

It should look like

buildTypes {
    release {
      minifyEnabled true
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
  }

@subhrajyotisen it works. Thank you very much!!

The openssl command does not work on my Mac. It yields this error:

4667723436:error:02FFF015:system library:func(4095):Is a directory:/System/Volumes/Data/SWE/macOS/BuildRoots/d7e177bcf5/Library/Caches/com.apple.xbs/Sources/libressl/libressl-56.60.2/libressl-2.8/crypto/bio/bss_file.c:191:
4667723436:error:20FFF002:BIO routines:CRYPTO_internal:system lib:/System/Volumes/Data/SWE/macOS/BuildRoots/d7e177bcf5/Library/Caches/com.apple.xbs/Sources/libressl/libressl-56.60.2/libressl-2.8/crypto/bio/bss_file.c:192:

Can you please share the version of openssl you are using?
I tried it using LibreSSL 2.8.3 on MacOS Catalina for reference.

Yes I am using that one. And I am on BigSur.

Hello everyone, @subhrajyotisen thanks for the tutorials, it really is great, my only issue is that I keep getting Error: The caller does not have permission

Here are my screens:
Screen Shot 2021-10-08 at 3.52.12 PM

Screen Shot 2021-10-08 at 3.52.19 PM

I suspect that I have to respond to the invitation sent by PlayStore Api Service to xxxxxxxxxxxxx. iam.gserviceaccount.com, but I am not sure (if so, how do I do that ?)

Thanks in advance, I hope someone helps me!

@ahnset Can you verify if the service account has been granted the Editor permission ?