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() {
return __awaiter(this, void 0, void 0, function* () {
try {
const myInput = core.getInput('myInput');
core.debug(`Hello ${myInput}`);
const myInput = core.getInput('token');
core.debug(`Token ${myInput}`);
}
catch (error) {
core.setFailed(error.message);

View File

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