We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed99636 commit dd89601Copy full SHA for dd89601
1 file changed
.github/workflows/download-stats.yml
@@ -1,6 +1,6 @@
1
name: Update Download Stats
2
3
-on:
+on:
4
schedule:
5
- cron: "0 */6 * * *"
6
workflow_dispatch:
@@ -11,21 +11,21 @@ jobs:
11
steps:
12
- uses: actions/checkout@v4
13
14
- - name: Ensure stats directory exists
+ - name: Ensure stats directory exists
15
run: mkdir -p stats
16
17
- name: Fetch release downloads
18
run: |
19
- curl -s https://api.github.com/repos/${{ github.repository }}/releases \
+ curl -s https://api.github.com/repos/${{ github. repository }}/releases \
20
| jq '
21
[
22
.[] |
23
{
24
- tag: . tag_name,
+ tag: .tag_name,
25
total: (.assets | map(.download_count) | add)
26
}
27
]
28
- ' > stats/downloads. json
+ ' > stats/downloads.json
29
30
- name: Append history
31
0 commit comments