Skip to content

Commit

Permalink
chore: add a few more status messages
Browse files Browse the repository at this point in the history
  • Loading branch information
birtles committed Nov 27, 2023
1 parent 87eba9f commit f9ceed7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
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.

6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,17 @@ async function main() {
const clientSecret = core.getInput('client_secret', { required: true });
const productId = core.getInput('product_id', { required: true });

core.info('Getting access token...');

// Get the access token
const accessToken = await getAccessToken({
accessTokenUrl,
clientId,
clientSecret,
});

core.info('Uploading add-on...');

// Upload the add-on asset
const uploadOperationId = await upload({
accessToken,
Expand All @@ -58,6 +62,8 @@ async function main() {
productId,
});

core.info('Publishing new version...');

// Publish the new version
const publishOperationId = await publish({
accessToken,
Expand Down

0 comments on commit f9ceed7

Please sign in to comment.