From 2ad39912bc1da5006789b992d4b1b5f777308619 Mon Sep 17 00:00:00 2001 From: jofas Date: Sat, 22 Apr 2023 19:14:54 +0200 Subject: [PATCH] wrapping strings in explicit quotes --- .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 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: