We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b39a6c + 719c226 commit f79606fCopy full SHA for f79606f
.github/actions/publish-if-newer/action.yml
@@ -14,7 +14,7 @@ runs:
14
shell: bash
15
run: |
16
if [ $(curl https://crates.io/api/v1/crates/${{ inputs.package }} | jq '.crate.newest_version') \
17
- != $(cargo metadata | jq '.packages[] | select(.name == ${{ inputs.package }}) | .version') ]
+ != $(cargo metadata | jq '.packages[] | select(.name == "${{ inputs.package }}") | .version') ]
18
then
19
cargo publish -p ${{ inputs.package }}
20
else
0 commit comments