From 00e6466153e21c1f30c5549bf9dbc561f2c854b0 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Mon, 10 Mar 2025 09:13:38 +0800 Subject: [PATCH] chore: update checksum generation step --- .github/workflows/build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81ff6c94..94411fb6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -329,10 +329,6 @@ 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: @@ -357,6 +353,13 @@ jobs: path: bin/ merge-multiple: true + - name: Calculate checksums + run: | + cd bin/ + find . -type f -not -name "checksums.*" -not -name "version.txt" | sort | xargs sha256sum > checksums.txt + cat checksums.txt + shell: bash + - name: Delete current release assets uses: 8Mi-Tech/delete-release-assets-action@main with: