mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-05-12 21:18:03 +08:00
chore: add checksum generation for production artifacts
This commit is contained in:
parent
8bc6f77e36
commit
c94b4421e5
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user