From fa0c7b9ac17a342b51fb5414317b54a5dfd2074b Mon Sep 17 00:00:00 2001 From: Stephan Date: Fri, 18 Mar 2022 17:46:24 +0100 Subject: [PATCH] exp --- .github/workflows/publish-release.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index bf8ac5f..a58f477 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -36,4 +36,14 @@ jobs: await script.validateRelease() // rest should be in a different step // await script.publishRelease() - // await script.closeMilestone() \ No newline at end of file + // await script.closeMilestone() + + - name: Finalize GitHub release and milestone + if: github.event.inputs.dryrun == false + uses: actions/github-script@v5 + with: + script: | + const scriptf = require('./.github/workflows/publish-release.js') + const script = scriptf({github, context, core}) + //await script.publishRelease() + //await script.closeMilestone()