mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-12-20 09:00:04 +08:00
chore: update checksum generation step
This commit is contained in:
parent
c94b4421e5
commit
00e6466153
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -329,10 +329,6 @@ 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:
|
||||||
@ -357,6 +353,13 @@ jobs:
|
|||||||
path: bin/
|
path: bin/
|
||||||
merge-multiple: true
|
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
|
- name: Delete current release assets
|
||||||
uses: 8Mi-Tech/delete-release-assets-action@main
|
uses: 8Mi-Tech/delete-release-assets-action@main
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user