Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tlaster authored Nov 19, 2020
1 parent 4cbc060 commit 807f361
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ async function run(): Promise<void> {
try {
const buildDir = core.getInput('buildDirectory') ?? 'build';
const output = core.getInput('output') ?? path.join('build', 'signed');

const releaseDirs = core.getInput('releaseDirectory').split('\n').filter(it => it !== '');
const signingKeyBase64 = core.getInput('signingKeyBase64');
const alias = core.getInput('alias');
const keyStorePassword = core.getInput('keyStorePassword');
const keyPassword = core.getInput('keyPassword');
const signingKey = path.join(buildDir, 'signingKey.jks');
fs.writeFileSync(signingKey, signingKeyBase64, 'base64');
if (!fs.existsSync(output)) {
fs.mkdirSync(output);
}
for await (const releaseDir of releaseDirs) {
const releaseFiles = findReleaseFile(releaseDir);
for await (const releaseFile of releaseFiles) {
Expand Down

0 comments on commit 807f361

Please sign in to comment.