diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 888e64b..baca315 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,7 +20,7 @@ jobs: - name: Extract Cargo.toml Version run: echo "CRATE_VERSION=$(toml get -r Cargo.toml package.version)" >> "$GITHUB_ENV" - name: Check Version - run: test ${{ format('v{0}', env.CRATE_VERSION) }} == ${{ github.ref_name }} + run: test "${{ format('v{0}', env.CRATE_VERSION) }}" == "${{ github.ref_name }}" - name: Publish run: cargo publish env: