diff --git a/.github/workflows/publish-release.js b/.github/workflows/publish-release.js index 7340e1a..5c0fb6f 100644 --- a/.github/workflows/publish-release.js +++ b/.github/workflows/publish-release.js @@ -1,4 +1,4 @@ -module.exports = async ({github, context, core}) => { +module.exports = /*async*/ ({github, context, core}) => { const restapi = github.rest @@ -12,8 +12,12 @@ module.exports = async ({github, context, core}) => { } function test() { - console.log("test"); - } - + console.log("test " + context.payload.inputs.version) + } + console.log("script") + + return { + test: function() { test() } + } } \ No newline at end of file