From 8504e11c5b065f73f37d10aff87691693c3376b0 Mon Sep 17 00:00:00 2001 From: zhongfly <11155705+zhongfly@users.noreply.github.com> Date: Mon, 16 May 2022 16:31:46 +0800 Subject: [PATCH] add downloads counts badgen --- .github/workflows/Backup_Nightly.yml | 2 +- .github/workflows/Backup_Release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Backup_Nightly.yml b/.github/workflows/Backup_Nightly.yml index 46df8f3..2d4eb36 100644 --- a/.github/workflows/Backup_Nightly.yml +++ b/.github/workflows/Backup_Nightly.yml @@ -73,7 +73,7 @@ jobs: artifacts: "clash*" commit: version name: "${{ env.tag_name }}" - body: "" + body: "**Downloads**: ![downloads](https://badgen.net/github/assets-dl/${{github.repository}}/${{ env.short_time }}?cache=300)" tag: "${{ env.tag_name }}" allowUpdates: true prerelease: false diff --git a/.github/workflows/Backup_Release.yml b/.github/workflows/Backup_Release.yml index 6ba1afa..4a52642 100644 --- a/.github/workflows/Backup_Release.yml +++ b/.github/workflows/Backup_Release.yml @@ -52,7 +52,7 @@ jobs: artifacts: "release/*" commit: version name: "${{ steps.get_name.outputs.name }}" - body: "" + body: "**Downloads**: ![downloads](https://badgen.net/github/assets-dl/${{github.repository}}/${{ env.short_time }}?cache=300)" tag: "${{ steps.get_name.outputs.tag_name }}" allowUpdates: true removeArtifacts: true