fix: ci download sha256 file
Signed-off-by: hantmac <hantmac@outlook.com>
This commit is contained in:
parent
93a0cefcfd
commit
33d8021ea2
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue