From b7b967f0789f5bf55900240cf775072d10735bfe Mon Sep 17 00:00:00 2001 From: Stephan Date: Fri, 18 Mar 2022 16:11:14 +0100 Subject: [PATCH] exp --- .github/workflows/publish-release.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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