From 8197a9b12d0a3e9c94338e38a1ac3bf64b5adaa9 Mon Sep 17 00:00:00 2001 From: jofas Date: Sat, 22 Apr 2023 18:20:56 +0200 Subject: [PATCH] syntax error --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6416a8c..d7d9f97 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,8 @@ jobs: - name: Extract Cargo.toml Version run: echo "VERSION=$(toml get -r Cargo.toml package.version)" >> "$GITHUB_ENV" - name: Check Version - run: [ "${{ format('v{0}', env.CARGO_VERSION) }}" == "${{ github.ref_name }}" ] + run: | + [ "${{ format('v{0}', env.CARGO_VERSION) }}" == "${{ github.ref_name }}" ] - name: Publish run: cargo publish env: