From 1c3b707973951e383bbb2a34323e933443729fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Fri, 28 Aug 2020 23:35:43 +0200 Subject: [PATCH] Fix missing `getInput` --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 156e3b5f..cb63a187 100644 --- a/index.js +++ b/index.js @@ -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