Skip to content

Commit

Permalink
Output all
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashdoughty committed Nov 11, 2019
1 parent 8116d7b commit e820ede
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/actions/logger/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ const core = require('@actions/core');
const { release } = require(process.env.GITHUB_EVENT_PATH);

module.exports = () => {
console.log(release);
core.setOutput('release', release);
}
Object.entries(release).forEach(([key, value]) => {
console.log(key, value);
core.setOutput(key, value);
});
};
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release_event.outputs.release.upload_url }}
upload_url: ${{ steps.get_release_event.outputs.upload_url }}
asset_path: ./dist/my-artifact.zip
asset_name: my-artifact.zip
asset_content_type: application/zip

0 comments on commit e820ede

Please sign in to comment.