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