Skip to content

Commit

Permalink
Export commitedEditIdExpiryTimeSeconds as output and as environment v…
Browse files Browse the repository at this point in the history
…ariable
  • Loading branch information
Swisyn authored Oct 29, 2024
1 parent 50273d4 commit a632a2f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/edits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a632a2f

Please sign in to comment.