diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 147d732..bae3cf9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,8 +22,7 @@ jobs: - name: Extract Cargo.toml Version run: echo "CRATE_VERSION=$(toml get -r Cargo.toml package.version)" >> "$GITHUB_ENV" - name: Check Version - run: | - [ "${{ 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: