Open danielo515 opened 4 years ago
Here is the debug output in case it helps.
I think the problem lies that your path resolution does not include the relative path, it just finds it at the current directory and it tries to sign the app name withouth the pat, so instead of ./app.aab
it does app.aab
2020-07-08T06:59:24.8079219Z ##[debug]Evaluating condition for step: 'Sign app'
2020-07-08T06:59:24.8082930Z ##[debug]Evaluating: success()
2020-07-08T06:59:24.8084086Z ##[debug]Evaluating success:
2020-07-08T06:59:24.8085705Z ##[debug]=> true
2020-07-08T06:59:24.8086902Z ##[debug]Result: true
2020-07-08T06:59:24.8088687Z ##[debug]Starting: Sign app
2020-07-08T06:59:24.8113609Z ##[debug]Loading inputs
2020-07-08T06:59:24.8115618Z ##[debug]Evaluating: secrets.ANDROID_SIGN_KEY
2020-07-08T06:59:24.8116418Z ##[debug]Evaluating Index:
2020-07-08T06:59:24.8117117Z ##[debug]..Evaluating secrets:
2020-07-08T06:59:24.8117843Z ##[debug]..=> Object
2020-07-08T06:59:24.8118597Z ##[debug]..Evaluating String:
2020-07-08T06:59:24.8119319Z ##[debug]..=> 'ANDROID_SIGN_KEY'
2020-07-08T06:59:24.8121131Z ##[debug]=> '***
2020-07-08T06:59:24.8121895Z ##[debug]***
2020-07-08T06:59:24.8122805Z ##[debug]***
2020-07-08T06:59:24.8123583Z ##[debug]***
2020-07-08T06:59:24.8124320Z ##[debug]***
2020-07-08T06:59:24.8125054Z ##[debug]***
2020-07-08T06:59:24.8125824Z ##[debug]***
2020-07-08T06:59:24.8126555Z ##[debug]***
2020-07-08T06:59:24.8127306Z ##[debug]***
2020-07-08T06:59:24.8128037Z ##[debug]***
2020-07-08T06:59:24.8128766Z ##[debug]***
2020-07-08T06:59:24.8129493Z ##[debug]***
2020-07-08T06:59:24.8130221Z ##[debug]***
2020-07-08T06:59:24.8130939Z ##[debug]***
2020-07-08T06:59:24.8131676Z ##[debug]***
2020-07-08T06:59:24.8132400Z ##[debug]***
2020-07-08T06:59:24.8133135Z ##[debug]***
2020-07-08T06:59:24.8133871Z ##[debug]***
2020-07-08T06:59:24.8134600Z ##[debug]***
2020-07-08T06:59:24.8135335Z ##[debug]***
2020-07-08T06:59:24.8136072Z ##[debug]***
2020-07-08T06:59:24.8136802Z ##[debug]***
2020-07-08T06:59:24.8137531Z ##[debug]***
2020-07-08T06:59:24.8138259Z ##[debug]***
2020-07-08T06:59:24.8138990Z ##[debug]***
2020-07-08T06:59:24.8139714Z ##[debug]***
2020-07-08T06:59:24.8140443Z ##[debug]***
2020-07-08T06:59:24.8141163Z ##[debug]***
2020-07-08T06:59:24.8141904Z ##[debug]***
2020-07-08T06:59:24.8142628Z ##[debug]***
2020-07-08T06:59:24.8143353Z ##[debug]***
2020-07-08T06:59:24.8144082Z ##[debug]***
2020-07-08T06:59:24.8144857Z ##[debug]***
2020-07-08T06:59:24.8145586Z ##[debug]***
2020-07-08T06:59:24.8146336Z ##[debug]***
2020-07-08T06:59:24.8147076Z ##[debug]***
2020-07-08T06:59:24.8147817Z ##[debug]***
2020-07-08T06:59:24.8148720Z ##[debug]***
2020-07-08T06:59:24.8149465Z ##[debug]***
2020-07-08T06:59:24.8150216Z ##[debug]***
2020-07-08T06:59:24.8150952Z ##[debug]***
2020-07-08T06:59:24.8151699Z ##[debug]***
2020-07-08T06:59:24.8152443Z ##[debug]***
2020-07-08T06:59:24.8153182Z ##[debug]***
2020-07-08T06:59:24.8153923Z ##[debug]***
2020-07-08T06:59:24.8154658Z ##[debug]***
2020-07-08T06:59:24.8155394Z ##[debug]***
2020-07-08T06:59:24.8156135Z ##[debug]***
2020-07-08T06:59:24.8156884Z ##[debug]***
2020-07-08T06:59:24.8157628Z ##[debug]***
2020-07-08T06:59:24.8158367Z ##[debug]***
2020-07-08T06:59:24.8159107Z ##[debug]***
2020-07-08T06:59:24.8159860Z ##[debug]***
2020-07-08T06:59:24.8160615Z ##[debug]***
2020-07-08T06:59:24.8161365Z ##[debug]***
2020-07-08T06:59:24.8162106Z ##[debug]***
2020-07-08T06:59:24.8162853Z ##[debug]***
2020-07-08T06:59:24.8163602Z ##[debug]***
2020-07-08T06:59:24.8164523Z ##[debug]***
2020-07-08T06:59:24.8165262Z ##[debug]***
2020-07-08T06:59:24.8166004Z ##[debug]***
2020-07-08T06:59:24.8166739Z ##[debug]***
2020-07-08T06:59:24.8167483Z ##[debug]***
2020-07-08T06:59:24.8168225Z ##[debug]***
2020-07-08T06:59:24.8168976Z ##[debug]***
2020-07-08T06:59:24.8169712Z ##[debug]***
2020-07-08T06:59:24.8170475Z ##[debug]***
2020-07-08T06:59:24.8171213Z ##[debug]***
2020-07-08T06:59:24.8171960Z ##[debug]***
2020-07-08T06:59:24.8172711Z ##[debug]***
2020-07-08T06:59:24.8173457Z ##[debug]***
2020-07-08T06:59:24.8174199Z ##[debug]***
2020-07-08T06:59:24.8174942Z ##[debug]***
2020-07-08T06:59:24.8175684Z ##[debug]***
2020-07-08T06:59:24.8176426Z ##[debug]***
2020-07-08T06:59:24.8177170Z ##[debug]***
2020-07-08T06:59:24.8177907Z ##[debug]***
2020-07-08T06:59:24.8178660Z ##[debug]***
2020-07-08T06:59:24.8179350Z ##[debug]***'
2020-07-08T06:59:24.8180958Z ##[debug]Result: '***
2020-07-08T06:59:24.8181713Z ##[debug]***
2020-07-08T06:59:24.8182455Z ##[debug]***
2020-07-08T06:59:24.8183199Z ##[debug]***
2020-07-08T06:59:24.8183940Z ##[debug]***
2020-07-08T06:59:24.8184678Z ##[debug]***
2020-07-08T06:59:24.8185415Z ##[debug]***
2020-07-08T06:59:24.8186153Z ##[debug]***
2020-07-08T06:59:24.8186890Z ##[debug]***
2020-07-08T06:59:24.8187623Z ##[debug]***
2020-07-08T06:59:24.8189095Z ##[debug]***
2020-07-08T06:59:24.8189834Z ##[debug]***
2020-07-08T06:59:24.8190576Z ##[debug]***
2020-07-08T06:59:24.8191302Z ##[debug]***
2020-07-08T06:59:24.8192031Z ##[debug]***
2020-07-08T06:59:24.8192765Z ##[debug]***
2020-07-08T06:59:24.8193504Z ##[debug]***
2020-07-08T06:59:24.8194231Z ##[debug]***
2020-07-08T06:59:24.8194966Z ##[debug]***
2020-07-08T06:59:24.8195698Z ##[debug]***
2020-07-08T06:59:24.8196436Z ##[debug]***
2020-07-08T06:59:24.8197171Z ##[debug]***
2020-07-08T06:59:24.8197909Z ##[debug]***
2020-07-08T06:59:24.8198640Z ##[debug]***
2020-07-08T06:59:24.8199392Z ##[debug]***
2020-07-08T06:59:24.8200121Z ##[debug]***
2020-07-08T06:59:24.8200857Z ##[debug]***
2020-07-08T06:59:24.8201592Z ##[debug]***
2020-07-08T06:59:24.8202330Z ##[debug]***
2020-07-08T06:59:24.8203065Z ##[debug]***
2020-07-08T06:59:24.8203786Z ##[debug]***
2020-07-08T06:59:24.8204521Z ##[debug]***
2020-07-08T06:59:24.8205268Z ##[debug]***
2020-07-08T06:59:24.8205995Z ##[debug]***
2020-07-08T06:59:24.8206727Z ##[debug]***
2020-07-08T06:59:24.8207660Z ##[debug]***
2020-07-08T06:59:24.8208391Z ##[debug]***
2020-07-08T06:59:24.8209127Z ##[debug]***
2020-07-08T06:59:24.8209859Z ##[debug]***
2020-07-08T06:59:24.8210606Z ##[debug]***
2020-07-08T06:59:24.8211347Z ##[debug]***
2020-07-08T06:59:24.8212093Z ##[debug]***
2020-07-08T06:59:24.8212825Z ##[debug]***
2020-07-08T06:59:24.8213556Z ##[debug]***
2020-07-08T06:59:24.8214285Z ##[debug]***
2020-07-08T06:59:24.8215021Z ##[debug]***
2020-07-08T06:59:24.8215746Z ##[debug]***
2020-07-08T06:59:24.8216483Z ##[debug]***
2020-07-08T06:59:24.8217229Z ##[debug]***
2020-07-08T06:59:24.8217977Z ##[debug]***
2020-07-08T06:59:24.8218710Z ##[debug]***
2020-07-08T06:59:24.8219437Z ##[debug]***
2020-07-08T06:59:24.8220182Z ##[debug]***
2020-07-08T06:59:24.8220922Z ##[debug]***
2020-07-08T06:59:24.8221658Z ##[debug]***
2020-07-08T06:59:24.8222378Z ##[debug]***
2020-07-08T06:59:24.8223116Z ##[debug]***
2020-07-08T06:59:24.8223867Z ##[debug]***
2020-07-08T06:59:24.8224612Z ##[debug]***
2020-07-08T06:59:24.8225343Z ##[debug]***
2020-07-08T06:59:24.8226079Z ##[debug]***
2020-07-08T06:59:24.8226812Z ##[debug]***
2020-07-08T06:59:24.8227555Z ##[debug]***
2020-07-08T06:59:24.8228419Z ##[debug]***
2020-07-08T06:59:24.8229167Z ##[debug]***
2020-07-08T06:59:24.8229900Z ##[debug]***
2020-07-08T06:59:24.8230635Z ##[debug]***
2020-07-08T06:59:24.8231373Z ##[debug]***
2020-07-08T06:59:24.8232109Z ##[debug]***
2020-07-08T06:59:24.8232848Z ##[debug]***
2020-07-08T06:59:24.8233589Z ##[debug]***
2020-07-08T06:59:24.8234321Z ##[debug]***
2020-07-08T06:59:24.8235062Z ##[debug]***
2020-07-08T06:59:24.8235798Z ##[debug]***
2020-07-08T06:59:24.8236527Z ##[debug]***
2020-07-08T06:59:24.8237267Z ##[debug]***
2020-07-08T06:59:24.8238006Z ##[debug]***
2020-07-08T06:59:24.8238883Z ##[debug]***
2020-07-08T06:59:24.8239578Z ##[debug]***'
2020-07-08T06:59:24.8240904Z ##[debug]Evaluating: secrets.ALIAS
2020-07-08T06:59:24.8241607Z ##[debug]Evaluating Index:
2020-07-08T06:59:24.8242297Z ##[debug]..Evaluating secrets:
2020-07-08T06:59:24.8243001Z ##[debug]..=> Object
2020-07-08T06:59:24.8243692Z ##[debug]..Evaluating String:
2020-07-08T06:59:24.8244384Z ##[debug]..=> 'ALIAS'
2020-07-08T06:59:24.8245304Z ##[debug]=> '***'
2020-07-08T06:59:24.8246004Z ##[debug]Result: '***'
2020-07-08T06:59:24.8246876Z ##[debug]Evaluating: secrets.KEY_PASS
2020-07-08T06:59:24.8247575Z ##[debug]Evaluating Index:
2020-07-08T06:59:24.8248261Z ##[debug]..Evaluating secrets:
2020-07-08T06:59:24.8248951Z ##[debug]..=> Object
2020-07-08T06:59:24.8249649Z ##[debug]..Evaluating String:
2020-07-08T06:59:24.8250449Z ##[debug]..=> 'KEY_PASS'
2020-07-08T06:59:24.8251175Z ##[debug]=> '***'
2020-07-08T06:59:24.8251892Z ##[debug]Result: '***'
2020-07-08T06:59:24.8253617Z ##[debug]Loading env
2020-07-08T06:59:24.8262660Z ##[group]Run r0adkll/sign-android-release@v1
2020-07-08T06:59:24.8263379Z with:
2020-07-08T06:59:24.8264065Z releaseDirectory: ./
2020-07-08T06:59:24.8280047Z signingKeyBase64: ***
2020-07-08T06:59:24.8280753Z alias: ***
2020-07-08T06:59:24.8281445Z keyStorePassword: ***
2020-07-08T06:59:24.8282117Z ##[endgroup]
2020-07-08T06:59:24.8745333Z Preparing to sign key @ ./ with signing key
2020-07-08T06:59:24.8755373Z ##[debug]Found release to sign: app.aab
2020-07-08T06:59:24.8761431Z ##[debug]Signing AAB file
2020-07-08T06:59:24.8787790Z ##[debug]Found 'jarsigner' @ /usr/bin/jarsigner
2020-07-08T06:59:24.8798877Z [command]/usr/bin/jarsigner -keystore signingKey.jks -storepass *** app.aab ***
2020-07-08T06:59:29.9700163Z jarsigner: unable to open jar file: app.aab
2020-07-08T06:59:29.9815784Z ##[error]The process '/usr/bin/jarsigner' failed with exit code 1
2020-07-08T06:59:29.9888236Z ##[debug]Node Action run completed with exit code 1
2020-07-08T06:59:29.9890506Z ##[debug]Finishing: Sign app
I'm getting the following error when trying to sign the app:
This is my config
I'm building an aab app. Maybe is that?