diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9e9a9ff..cc8ddb0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: @@ -98,12 +98,14 @@ jobs: - name: Download sha256sums uses: actions/download-artifact@v4.1.7 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/upload-release-asset@v1.0.2 @@ -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/krew-release-bot@v0.0.43 + uses: rajatjindal/krew-release-bot@v0.0.43 \ No newline at end of file