Print token
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user