From 3b98325435e05846fb5eb9cd5b6fb9b7944678b1 Mon Sep 17 00:00:00 2001 From: Stephan Date: Fri, 10 Dec 2021 17:53:40 +0100 Subject: [PATCH] exp --- .github/workflows/publish-release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 9bf22f6..b933a42 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -9,17 +9,23 @@ jobs: uses: actions/github-script@v4 with: script: | + console.log('X0') const tag = "v" + "${{ github.ref }}".substring(19) try { + console.log('X1') const rel = github.repos.getReleaseByTag({ owner: context.repo.owner, repo: context.repo.repo, tag: tag }) + console.log('X2') } catch (error) { + console.log('X3') core.setFailed("Could not find a release for tag " + tag) + console.log('X4') } + console.log('X5') - name: Checkout uses: actions/checkout@v2