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: |
|
run: |
|
||||||
echo ${VERSION} > version.txt
|
echo ${VERSION} > version.txt
|
||||||
shell: bash
|
shell: bash
|
||||||
|
- name: Generate checksum
|
||||||
|
run: |
|
||||||
|
find . -name "mihomo*" -type f -not -path "*/\.*" | sort | xargs sha256sum > checksums.txt
|
||||||
|
shell: bash
|
||||||
- name: Archive production artifacts
|
- name: Archive production artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@ -340,6 +343,7 @@ jobs:
|
|||||||
mihomo*.rpm
|
mihomo*.rpm
|
||||||
mihomo*.zip
|
mihomo*.zip
|
||||||
version.txt
|
version.txt
|
||||||
|
checksums.txt
|
||||||
|
|
||||||
Upload-Prerelease:
|
Upload-Prerelease:
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
|
Loading…
Reference in New Issue
Block a user