fix: ci download sha256 file

Signed-off-by: hantmac <hantmac@outlook.com>
This commit is contained in:
hantmac 2024-11-06 15:48:33 +08:00 committed by Zhen Zhang
parent 93a0cefcfd
commit 33d8021ea2
1 changed files with 5 additions and 8 deletions

View File

@ -95,18 +95,15 @@ jobs:
- name: Get release
id: get_release
uses: bruceadams/get-release@v1.2.2
- name: Download sha256sums
- name: Download artifacts
uses: actions/download-artifact@v4.1.7
with:
name: 'sha256sums-*'
pattern: sha256sums-*
merge-multiple: true
path: sha256sums
- shell: bash
run: |
cd sha256sums
for file in */*.txt
do
cat ${file} >> ../sha256sums.txt
done
cat sha256sums/*.txt > sha256sums.txt
- name: Upload Checksums
uses: actions/upload-release-asset@v1.0.2
with: