From 96eb011dc9cf40d81b4b69358ecd09b2c1e0e7c1 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 17 Nov 2021 11:52:32 -0800 Subject: [PATCH] Fix version grep interpolation syntax --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b1b8d9..7f34078 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: - id: which run: echo "::set-output name=which::$(which ${{inputs.bin || inputs.crate}})" - id: version - run: echo "::set-output name=version::$(cargo install --list | grep -o '^{{inputs.crate}} \([^ :]\)\+')" + run: echo "::set-output name=version::$(cargo install --list | grep -o '^${{inputs.crate}} \([^ :]\)\+')" - run: echo "$PRIVATE_KEY" | gpg --import env: PRIVATE_KEY: ${{secrets.private_key}}