Skip to content

Commit

Permalink
Fix missing getInput
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv committed Aug 28, 2020
1 parent 508d643 commit 1c3b707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const core = require("@actions/core");
const { context } = require("@actions/github");

try {
const githubToken = getInput("github_token", { required: true });
const githubToken = core.getInput("github_token", { required: true });
console.log(`Hello ${githubToken}!`);

// set output
Expand Down

0 comments on commit 1c3b707

Please sign in to comment.