mirror of
https://github.com/r0adkll/sign-android-release
synced 2026-09-30 16:48:45 +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
+2
-2
@@ -36,8 +36,6 @@ function run() {
|
||||
const releaseFile = io.findReleaseFile(releaseDir);
|
||||
if (releaseFile !== undefined) {
|
||||
core.debug(`Found release to sign: ${releaseFile.name}`);
|
||||
// 2. Install Android tools
|
||||
yield io.downloadAndroidTools();
|
||||
// 3. Now that we have a release file, decode and save the signing key
|
||||
const signingKey = path_1.default.join(releaseDir, 'signingKey.jks');
|
||||
fs_1.default.writeFileSync(signingKey, signingKeyBase64, 'base64');
|
||||
@@ -54,6 +52,8 @@ function run() {
|
||||
core.error('No valid release file to sign, abort.');
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user