mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-25 07:16:42 +00:00
16
index.js
16
index.js
@@ -1,16 +0,0 @@
|
||||
const core = require('@actions/core');
|
||||
const github = require('@actions/github');
|
||||
|
||||
|
||||
try {
|
||||
const label = core.getInput('label');
|
||||
console.log(`Label: ${label}`)
|
||||
|
||||
core.setOutput("label", label);
|
||||
|
||||
const payload = JSON.stringify(github.context.payload, undefined, 2)
|
||||
|
||||
console.log(`The event payload: ${payload}`);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
Reference in New Issue
Block a user