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()