Skip to content

Commit

Permalink
build(release): compiled action for 1.0.3
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
semantic-release-bot committed Nov 1, 2019
1 parent 7f34140 commit df38916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ function getAllInputs() {
return Object.entries(process.env).reduce((result, [key, value]) => {
if (!/^INPUT_/.test(key)) return result;

const inputName = key.substr("INPUT_".length).toLowerCase();
const inputName = key.toLowerCase() === 'input_mediatype' ? 'mediaType' : key.substr("INPUT_".length).toLowerCase();
result[inputName] = value;
return result;
}, {});
Expand Down

0 comments on commit df38916

Please sign in to comment.