Skip to content

Commit

Permalink
Print out the inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Otanikotani committed Jun 24, 2021
1 parent 237fb4e commit 3c4e31b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ function execShellCommand(cmd) {
const metrics = core.getInput('metrics');
const templateOutput = core.getInput('templateOutput');

console.log(`\n\tService name: ${serviceName}\n\tBucket: ${bucket}\n\tVersion: ${version}\n\tGitmeta: ${gitmeta}\n\tMeta: ${meta}\n\tMetrics: ${metrics}\n\tTemplate Output: ${templateOutput}`)

console.log(`SAM build`);
console.log(await execShellCommand("sam build"));
console.log(await execShellCommand(`sam package --template-file .aws-sam/build/template.yaml --s3-bucket ${bucket} --s3-prefix ${serviceName}/${version} --output-template-file packaged.yaml`));
Expand Down

0 comments on commit 3c4e31b

Please sign in to comment.