From 9032e98d10fc38a141eb90066c431c53a8c15b54 Mon Sep 17 00:00:00 2001 From: Hybes Date: Mon, 25 Nov 2024 21:10:17 +0000 Subject: [PATCH] build anyway --- .github/workflows/build-and-release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 97dfd60..f2001ac 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -20,8 +20,7 @@ jobs: - name: Check if package.json changed id: check_version run: | - git diff --name-only HEAD~1 HEAD | grep 'package.json' - if [ $? -eq 0 ]; then + if git diff --name-only HEAD~1 HEAD | findstr "package.json"; then echo "VERSION_CHANGED=true" >> $GITHUB_ENV else echo "VERSION_CHANGED=false" >> $GITHUB_ENV