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