From c94b4421e5b56a5984fd8becd980fdeebe054039 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Mon, 10 Mar 2025 09:02:08 +0800 Subject: [PATCH] chore: add checksum generation for production artifacts --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 371065cf..81ff6c94 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -329,7 +329,10 @@ jobs: run: | echo ${VERSION} > version.txt shell: bash - + - name: Generate checksum + run: | + find . -name "mihomo*" -type f -not -path "*/\.*" | sort | xargs sha256sum > checksums.txt + shell: bash - name: Archive production artifacts uses: actions/upload-artifact@v4 with: @@ -340,6 +343,7 @@ jobs: mihomo*.rpm mihomo*.zip version.txt + checksums.txt Upload-Prerelease: permissions: write-all