From a632a2f56a793ddde38e16d70fdd0132a69eda43 Mon Sep 17 00:00:00 2001 From: Dzhunet Hasan <6234115+Swisyn@users.noreply.github.com> Date: Tue, 29 Oct 2024 09:16:52 +0100 Subject: [PATCH] Export commitedEditIdExpiryTimeSeconds as output and as environment variable --- src/edits.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/edits.ts b/src/edits.ts index 6450c957..c3822c55 100644 --- a/src/edits.ts +++ b/src/edits.ts @@ -115,8 +115,11 @@ async function uploadToPlayStore(options: EditOptions, releaseFiles: string[]): if (res.data.id) { core.info(`Successfully committed ${res.data.id}`); - core.setOutput("uploadEditId", appEditId); - core.exportVariable("UPLOAD_EDIT_ID", appEditId); + core.setOutput("committedEditId", res.data.id); + core.setOutput("commitedEditIdExpiryTimeSeconds", res.data.expiryTimeSeconds); + + core.exportVariable("COMMITED_EDIT_ID", res.data.id); + core.exportVariable("COMMITED_EDIT_ID_EXPIRY_IN_TIME_SECONDS", res.data.expiryTimeSeconds); return res.data.id } else {