diff --git a/.github/workflows/compare-version.yml b/.github/workflows/compare-version.yml index 89ca577..8a8c0b2 100644 --- a/.github/workflows/compare-version.yml +++ b/.github/workflows/compare-version.yml @@ -33,10 +33,11 @@ jobs: run: | CURRENT_VERSION=$(jq -r '.version' current_package.json) PREVIOUS_VERSION=$(jq -r '.version' previous_package.json) - HAS_CHANGED="false" + HAS_CHANGED=false echo "Current version: $CURRENT_VERSION" echo "Previous version: $PREVIOUS_VERSION" if [ "$CURRENT_VERSION" != "$PREVIOUS_VERSION" ]; then - HAS_CHANGED="true" + HAS_CHANGED=true fi - echo "has_changed=HAS_CHANGED" >> $GITHUB_ENV \ No newline at end of file + echo "has_changed='$HAS_CHANGED'" + echo "has_changed='$HAS_CHANGED'" >> $GITHUB_ENV \ No newline at end of file diff --git a/.github/workflows/deploy-demo.yml b/.github/workflows/deploy-demo.yml index 543ff65..cf1417d 100644 --- a/.github/workflows/deploy-demo.yml +++ b/.github/workflows/deploy-demo.yml @@ -13,7 +13,6 @@ jobs: deploy: name: Deploy @msw-devtools/demo needs: compare-version - if: needs.compare-version.outputs.has_changed == 'true' runs-on: ubuntu-latest permissions: contents: read diff --git a/packages/demo/package.json b/packages/demo/package.json index ffd0c03..856f23b 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -1,6 +1,6 @@ { "name": "@msw-devtools/demo", - "version": "0.0.2", + "version": "0.0.3", "private": true, "author": "Valentin Kruglikov", "license": "MIT",