Skip to content

Commit

Permalink
Update update_downloads.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhreyu authored Oct 2, 2024
1 parent e53c922 commit 99fa45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update_downloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Update README.md
run: |
DOWNLOADS=$(cat download_count.txt)
# Find and update only the download badge link, not the "Total Downloads" text
# Find and update the download badge link
sed -i 's/https:\/\/img.shields.io\/badge\/downloads-[0-9]*-blue/https:\/\/img.shields.io\/badge\/downloads-'${DOWNLOADS}'-blue/' README.md
- name: Commit changes
Expand Down

0 comments on commit 99fa45a

Please sign in to comment.