mirror of
https://github.com/r0adkll/sign-android-release
synced 2026-10-01 00:51:36 +00:00
Changed how the script sources the tools it needs
Added some more logging
This commit is contained in:
131 files changed
+48
-8554
No files matched your search
+3
-3
@@ -19,9 +19,6 @@ async function run() {
|
||||
if (releaseFile !== undefined) {
|
||||
core.debug(`Found release to sign: ${releaseFile.name}`);
|
||||
|
||||
// 2. Install Android tools
|
||||
await io.downloadAndroidTools();
|
||||
|
||||
// 3. Now that we have a release file, decode and save the signing key
|
||||
const signingKey = path.join(releaseDir, 'signingKey.jks');
|
||||
fs.writeFileSync(signingKey, signingKeyBase64, 'base64');
|
||||
@@ -38,6 +35,9 @@ async function run() {
|
||||
core.setFailed('No valid release file to sign.');
|
||||
}
|
||||
|
||||
console.log('Release signed!');
|
||||
core.debug('Release signed! Setting outputs');
|
||||
|
||||
core.exportVariable("SIGNED_RELEASE_FILE", signedReleaseFile);
|
||||
core.setOutput('signedReleaseFile', signedReleaseFile);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user