r0adkll / sign-android-release

A GitHub action to sign an APK or AAB
MIT License
362 stars 137 forks source link

Error: EACCES: permission denied, open 'app/build/outputs/bundle/release/signingKey.jks' #22

Closed forntoh closed 3 years ago

forntoh commented 4 years ago

image

forntoh commented 4 years ago

Later, I tried chown image

littlecorgi-twk commented 4 years ago

me too.

// android.yml
name: Android CI
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: "Build Android project"
        uses: vgaidarji/android-github-actions-build@v1.0.1
        with:
          args: "./gradlew assembleRelease"
      - name: Change Gradlew Permission
        run:
          chmod +x ./gradlew
      - name: "Sign Android release"
        uses: r0adkll/sign-android-release@v1
        with:
          releaseDirectory: app/build/outputs/apk/release
          signingKeyBase64: ${{ secrets.SIGNING_KEY }}
          alias: ${{ secrets.ALIAS }}
          keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
          keyPassword: ${{ secrets.KEY_PASSWORD }}
// log:
Run r0adkll/sign-android-release@v1
  with:
    releaseDirectory: app/build/outputs/apk/release
    signingKeyBase64: ***
    alias: ***
    keyStorePassword: ***
    keyPassword: ***
Preparing to sign key @ app/build/outputs/apk/release with signing key
Error: EACCES: permission denied, open 'app/build/outputs/apk/release/signingKey.jks'
forntoh commented 4 years ago

@littlecorgi-twk If you're running windows, with the key you created to sign your app, run this command on Git Bash (I suppose you have git installed on your pc)

openssl base64 < my_signing_key.jks | tr -d '\n' | tee my_signing_key.jks.base64.txt

Then copy the content of my_signing_key.jks.base64.txt to your GitHub repo's secrets signingKeyBase64

PrashantNavodayan commented 12 months ago

Error: EACCES: permission denied, open '/opt/AhMyth/resources/app.asar.unpacked/app/Factory/Ahmyth/smali/ahmyth/mine/king/ahmyth/e.smali'```