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:
|
||||
|
|
@ -115,4 +112,4 @@ jobs:
|
|||
asset_name: sha256sums-${{ steps.get_release.outputs.tag_name }}.txt
|
||||
asset_content_type: text/plain
|
||||
- name: Update kubectl plugin version in krew-index
|
||||
uses: rajatjindal/krew-release-bot@v0.0.43
|
||||
uses: rajatjindal/krew-release-bot@v0.0.43
|
||||
|
|
|
|||
Loading…
Reference in New Issue