Skip to content

Commit

Permalink
Update .github/workflows/ci.yml
Browse files Browse the repository at this point in the history
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
  • Loading branch information
mohsen1 and greptile-apps[bot] authored Feb 23, 2025
1 parent 54eb786 commit 2f13b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,8 @@ jobs:

- name: Publish
run: |
if cargo search --color=never yek | grep -q ${{ github.ref_name }}; then
echo "yek@${{ github.ref_name }} already published"
if cargo search --color=never yek | grep -q "$cargo_version"; then
echo "yek@$cargo_version already published"
exit 0
fi
cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
Expand Down

0 comments on commit 2f13b97

Please sign in to comment.