3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2024-11-22 08:29:30 +01:00

Fix version grep interpolation syntax

This commit is contained in:
David Tolnay 2021-11-17 11:52:32 -08:00
parent 5579dcabc3
commit 96eb011dc9
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -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}}