Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: shasum file in release ci #109

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]
Loading