Skip to content

Commit

Permalink
fix: shasum file in release ci (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
hantmac authored Nov 6, 2024
1 parent 7b60eae commit 93a0cef
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Post sha256
uses: actions/upload-artifact@v4
with:
name: sha256sums
name: sha256sums-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}
path: ./_bin/sha256-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}.txt
retention-days: 1
upload-sha256sums-plugin:
Expand All @@ -98,12 +98,14 @@ jobs:
- name: Download sha256sums
uses: actions/[email protected]
with:
name: sha256sums
name: 'sha256sums-*'
path: sha256sums
- shell: bash
run: |
for file in *.txt
cd sha256sums
for file in */*.txt
do
cat ${file} >> sha256sums.txt
cat ${file} >> ../sha256sums.txt
done
- name: Upload Checksums
uses: actions/[email protected]
Expand All @@ -113,4 +115,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/[email protected]
uses: rajatjindal/[email protected]

0 comments on commit 93a0cef

Please sign in to comment.