From 30bcef5c7f2335597581cb3779bdd83038430305 Mon Sep 17 00:00:00 2001 From: Stephan Date: Sun, 12 Dec 2021 22:23:58 +0100 Subject: [PATCH] wtf --- .github/workflows/publish-release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 8880a6a..9af89bc 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -16,11 +16,12 @@ jobs: steps: - name: Confirm - if: ${{ github.event.inputs.confirm }} != "yolo" uses: actions/github-script@v4 with: script: | - core.setFailed(`Not confirmed (confirm = '${{ github.event.inputs.confirm }}').`) + if ("${{ github.event.inputs.confirm }}" != "yolo") { + core.setFailed(`Not confirmed (confirm = '${{ github.event.inputs.confirm }}').`) + } - name: Validate the release uses: actions/github-script@v4