From 17be585675b27ac4a517ddfbc886be5918cb35d5 Mon Sep 17 00:00:00 2001 From: rom1504 Date: Sat, 28 Mar 2026 17:15:43 +0000 Subject: [PATCH] Fix publish condition for npm-publish v4 npm-publish v4 outputs empty string (not 'none') when version is unchanged. The old condition != 'none' was always true, causing Create Release to run and fail on every non-release commit. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0ae88ae..ecb3bce 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,7 +21,7 @@ jobs: - id: publish uses: JS-DevTools/npm-publish@v4 - name: Create Release - if: steps.publish.outputs.type != 'none' + if: ${{ steps.publish.outputs.type }} id: create_release uses: actions/create-release@v1 env: