Skip to content

Commit 93a0cef

Browse files
authored
fix: shasum file in release ci (#109)
1 parent 7b60eae commit 93a0cef

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
- name: Post sha256
8383
uses: actions/upload-artifact@v4
8484
with:
85-
name: sha256sums
85+
name: sha256sums-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}
8686
path: ./_bin/sha256-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}.txt
8787
retention-days: 1
8888
upload-sha256sums-plugin:
@@ -98,12 +98,14 @@ jobs:
9898
- name: Download sha256sums
9999
uses: actions/download-artifact@v4.1.7
100100
with:
101-
name: sha256sums
101+
name: 'sha256sums-*'
102+
path: sha256sums
102103
- shell: bash
103104
run: |
104-
for file in *.txt
105+
cd sha256sums
106+
for file in */*.txt
105107
do
106-
cat ${file} >> sha256sums.txt
108+
cat ${file} >> ../sha256sums.txt
107109
done
108110
- name: Upload Checksums
109111
uses: actions/upload-release-asset@v1.0.2
@@ -113,4 +115,4 @@ jobs:
113115
asset_name: sha256sums-${{ steps.get_release.outputs.tag_name }}.txt
114116
asset_content_type: text/plain
115117
- name: Update kubectl plugin version in krew-index
116-
uses: rajatjindal/krew-release-bot@v0.0.43
118+
uses: rajatjindal/krew-release-bot@v0.0.43

0 commit comments

Comments
 (0)