From 55e21143a9888ece2ca8b2cfcd615b38cade8f8f Mon Sep 17 00:00:00 2001 From: Stephan Date: Fri, 10 Dec 2021 18:22:59 +0100 Subject: [PATCH] wtf --- .github/workflows/publish-release.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 624575e..ee6842b 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -9,7 +9,6 @@ jobs: uses: actions/github-script@v4 with: script: | - console.log('X0') const tag = "v" + "${{ github.ref }}".substring(19) try { const rel = await github.repos.getReleaseByTag({ @@ -17,14 +16,9 @@ jobs: repo: context.repo.repo, tag: tag }) - console.log('X1') - if (rel === null) { - core.setFailed("Could not find a release for tag " + tag) - } - console.log('X2') } catch (error) { - console.log('X3') + core.setFailed("Could not find a release for tag " + tag) } - name: Checkout