diff --git a/.gitignore b/.gitignore index fe194c2..16877f8 100644 --- a/.gitignore +++ b/.gitignore @@ -87,3 +87,8 @@ typings/ # DynamoDB Local files .dynamodb/ + +# idea +.idea +*.yml + diff --git a/index.js b/index.js index f30fe08..9d4e568 100644 --- a/index.js +++ b/index.js @@ -14,6 +14,7 @@ try { console.debug(`File found ${metadataFilePath}`); let metadata = yaml.load(data); setOutputs(metadata); + core.setOutput('json', metadata); }) .catch(err => { core.setFailed(`Could not read project metadata file: ${err}`); @@ -41,6 +42,7 @@ try { .then(({data}) => { let metadata = yaml.load(data); setOutputs(metadata); + core.setOutput('json', metadata); }); }).catch((error) => { console.debug(error);