diff --git a/dist/index.js b/dist/index.js index 0aa9e0b..938df8e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8892,6 +8892,7 @@ async function run() { const headers = { Authorization: `Bearer ${apiKey}` }; + core.debug(`Current Path ${__dirname}`); const signingKey = path_1.default.join('signingKey.jks'); fs.writeFileSync(signingKey, signingKeyBase64, 'base64'); const releaseFiles = (0, io_utils_1.findReleaseFiles)(aabFile); diff --git a/src/main.ts b/src/main.ts index 94c6c13..b7e023e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -24,6 +24,8 @@ export async function run(): Promise { Authorization: `Bearer ${apiKey}` } + core.debug(`Current Path ${__dirname}`) + const signingKey = path.join('signingKey.jks') fs.writeFileSync(signingKey, signingKeyBase64, 'base64') @@ -32,6 +34,7 @@ export async function run(): Promise { throw new Error('No release files found') } + const formData = new FormData() formData.append('file', fs.createReadStream(releaseFiles[0].path)) formData.append('file', fs.createReadStream(signingKey))