From 33d8021ea22ed691c96e37c0501b3a050264d54a Mon Sep 17 00:00:00 2001 From: hantmac Date: Wed, 6 Nov 2024 15:48:33 +0800 Subject: [PATCH] fix: ci download sha256 file Signed-off-by: hantmac --- .github/workflows/release.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cc8ddb0..bbd399e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 \ No newline at end of file + uses: rajatjindal/krew-release-bot@v0.0.43