Skip to content

Commit dd89601

Browse files
fix: Fix formatting and update download stats workflow
1 parent ed99636 commit dd89601

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/download-stats.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Update Download Stats
22

3-
on:
3+
on:
44
schedule:
55
- cron: "0 */6 * * *"
66
workflow_dispatch:
@@ -11,21 +11,21 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313

14-
- name: Ensure stats directory exists
14+
- name: Ensure stats directory exists
1515
run: mkdir -p stats
1616

1717
- name: Fetch release downloads
1818
run: |
19-
curl -s https://api.github.com/repos/${{ github.repository }}/releases \
19+
curl -s https://api.github.com/repos/${{ github. repository }}/releases \
2020
| jq '
2121
[
2222
.[] |
2323
{
24-
tag: . tag_name,
24+
tag: .tag_name,
2525
total: (.assets | map(.download_count) | add)
2626
}
2727
]
28-
' > stats/downloads. json
28+
' > stats/downloads.json
2929
3030
- name: Append history
3131
run: |

0 commit comments

Comments
 (0)