mirror of
https://github.com/r0adkll/sign-android-release
synced 2026-10-02 01:21:36 +00:00
Added set to download/install/cache the android sdk tools for signing release builds
This commit is contained in:
138 files changed
+9239
-27
No files matched your search
+4
-2
@@ -36,10 +36,12 @@ function run() {
|
||||
const releaseFile = io.findReleaseFile(releaseDir);
|
||||
if (releaseFile !== undefined) {
|
||||
core.debug(`Found release to sign: ${releaseFile.name}`);
|
||||
// 2. Now that we have a release file, decode and save the signing key
|
||||
// 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');
|
||||
// 3. Now zipalign the release file
|
||||
// 4. Now zipalign the release file
|
||||
const releaseFilePath = path_1.default.join(releaseDir, releaseFile.name);
|
||||
let signedReleaseFile = '';
|
||||
if (releaseFile.name.endsWith('.apk')) {
|
||||
|
||||
Reference in new issue
Block a user