mirror of
https://github.com/Bhupesh-V/ugit.git
synced 2026-09-10 07:26:20 -04:00
fix order of data
This commit is contained in:
parent
24e015e0ea
commit
0e3bbc5df0
6
.github/workflows/download-stats.yml
vendored
6
.github/workflows/download-stats.yml
vendored
|
|
@ -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
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue