Print token

This commit is contained in:
Nick Cipollo
2019-08-23 11:32:54 -04:00
parent b29aef2c29
commit 54146e3521
2 changed files with 4 additions and 4 deletions

View File

@@ -19,8 +19,8 @@ const core = __importStar(require("@actions/core"));
function run() { function run() {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
try { try {
const myInput = core.getInput('myInput'); const myInput = core.getInput('token');
core.debug(`Hello ${myInput}`); core.debug(`Token ${myInput}`);
} }
catch (error) { catch (error) {
core.setFailed(error.message); core.setFailed(error.message);

View File

@@ -2,8 +2,8 @@ import * as core from '@actions/core';
async function run() { async function run() {
try { try {
const myInput = core.getInput('myInput'); const myInput = core.getInput('token');
core.debug(`Hello ${myInput}`); core.debug(`Token ${myInput}`);
} catch (error) { } catch (error) {
core.setFailed(error.message); core.setFailed(error.message);
} }