Skip to content

Commit

Permalink
fix order of data
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhupesh-V authored Aug 11, 2022
1 parent 24e015e commit 0e3bbc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/download-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Get Download Count
id: download-stats
id: downloads
run: |
echo ::set-output name=download_count::$((curl -sq https://formulae.brew.sh/api/formula/ugit.json | jq '.analytics.install_on_request."365d".ugit' | tr "\012" "+" && (curl -sq https://api.github.com/repos/Bhupesh-V/ugit/releases | jq .[].assets[0].download_count | tr "\012" "+" ; echo "0")) | bc)
- name: Create Awesome Badge
Expand All @@ -21,6 +21,6 @@ jobs:
auth: ${{ secrets.GIST_TOKEN }}
gistID: 6b7b8e8576bc1ca237bffd9a344672ab
filename: ugit-downloads.json
label: ${{ steps.downloads-stats.outputs.download_count }}
message: downloads
label: downloads
message: ${{ steps.downloads.outputs.download_count }}
color: "#820F82"

0 comments on commit 0e3bbc5

Please sign in to comment.