Changed how the script sources the tools it needs

Added some more logging
This commit is contained in:
Drew Heavner committed 2019-11-08 15:46:49 -05:00
1 parent 71ce780cd2
commit bd300686fa
131 files changed
+48 -8554

No files matched your search

+2 -2
View File
@@ -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);
}