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 baeba35 commit ed99636Copy full SHA for ed99636
1 file changed
.github/workflows/download-stats.yml
@@ -1,28 +1,28 @@
1
name: Update Download Stats
2
3
-on:
+on:
4
schedule:
5
- cron: "0 */6 * * *"
6
workflow_dispatch:
7
8
-jobs:
+jobs:
9
stats:
10
runs-on: ubuntu-latest
11
steps:
12
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v4
13
14
- name: Ensure stats directory exists
15
run: mkdir -p stats
16
17
- - name: Fetch release downloads
18
- run: |
+ - name: Fetch release downloads
+ run: |
19
curl -s https://api.github.com/repos/${{ github.repository }}/releases \
20
| jq '
21
[
22
.[] |
23
{
24
- tag: .tag_name,
25
- total: (.assets | map(.download_count) | add)
+ tag: . tag_name,
+ total: (.assets | map(.download_count) | add)
26
}
27
]
28
' > stats/downloads. json
0 commit comments