Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue signing aab #93

Open
Surkhojb opened this issue Aug 6, 2024 · 0 comments
Open

Issue signing aab #93

Surkhojb opened this issue Aug 6, 2024 · 0 comments

Comments

@Surkhojb
Copy link

Surkhojb commented Aug 6, 2024

I've been struggling with this action to sign aab file.

The action works for all my other cases, debug, staging, release but when it comes to bundle I am facing and error during the signing step.

When I try to execute this block for bundle.

        uses: Tlaster/[email protected]
        with:
          releaseDirectory: ./app/build/outputs/bundle/googleRelease
          signingKeyBase64: ${{ secrets.BUNDLE_SIGNING_KEY_STORE_BASE_64 }}
          output: build/release/signed
          alias: ${{ secrets.BUNDLE_SIGNING_KEY_ALIAS }}
          keyStorePassword: ${{ secrets.BUNDLE_SIGNING_STORE_PASSWORD }}
          keyPassword: ${{ secrets.BUNDLE_SIGNING_STORE_PASSWORD }}
        env:
          BUILD_TOOLS_VERSION: "34.0.0"

I am getting the following error

jarsigner: unable to open jar file: app\build\outputs\bundle\googleRelease\app-google-release-signed.aab
Error: The process 'C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.12-7\x64\bin\jarsigner.exe' failed with exit code 1

Here is the release block that it works

 - name: Signing APK
      uses: Tlaster/[email protected]
      with:
        releaseDirectory: ./app/build/outputs/apk/google/release
        signingKeyBase64: ${{ secrets.RELEASE_SIGNING_KEY_STORE_BASE_64 }}
        output: build/release/signed
        alias: ${{ secrets.RELEASE_SIGNING_KEY_ALIAS }}
        keyStorePassword: ${{ secrets.RELEASE_SIGNING_STORE_PASSWORD }}
        keyPassword: ${{ secrets.RELEASE_SIGNING_STORE_PASSWORD }}
      env:
        BUILD_TOOLS_VERSION: "34.0.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant