Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
fix: coerce v13 release object to expected action output keys (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 authored Feb 19, 2022
1 parent a689e64 commit 2e2f852
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 5,695 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ function outputReleases (releases) {
// Historically tagName was output as tag_name, keep this
// consistent to avoid breaking change:
if (key === 'tagName') key = 'tag_name'
if (key === 'uploadUrl') key = 'upload_url'
if (key === 'notes') key = 'body'
if (key === 'url') key = 'html_url'
if (path === '.') {
core.setOutput(key, val)
} else {
Expand Down
Loading

0 comments on commit 2e2f852

Please sign in to comment.