From edb949650faf97c25d41e13b3c0a91ee76b86415 Mon Sep 17 00:00:00 2001 From: shupershuff <63577525+shupershuff@users.noreply.github.com> Date: Thu, 12 Sep 2024 13:54:39 +1200 Subject: [PATCH] Update GetDownloadCount.yml --- .github/workflows/GetDownloadCount.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/GetDownloadCount.yml b/.github/workflows/GetDownloadCount.yml index 8d21b11..1f7f99a 100644 --- a/.github/workflows/GetDownloadCount.yml +++ b/.github/workflows/GetDownloadCount.yml @@ -37,6 +37,7 @@ jobs: for release in $(echo "$releases" | jq -c '.[]'); do echo "test2" release_data=$(echo "$release" | jq '.') + echo "test2.5" download_count=$(echo "$release_data" | jq '[.assets[].download_count // 0] | add') echo "test3" # Check if this release has more downloads than the current max