Skip to content

Commit

Permalink
Merge pull request #45 from databendcloud/fix/release-duplicate-archive
Browse files Browse the repository at this point in the history
fix: release ci
  • Loading branch information
hantmac authored Oct 18, 2024
2 parents 9027e1c + dc016a4 commit 25d378e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,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: cmd/_bin/sha256-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}.txt
retention-days: 1

Expand All @@ -94,10 +94,11 @@ jobs:
- name: Download sha256sums
uses: actions/download-artifact@v4
with:
name: sha256sums
pattern: sha256sums-*
merge-multiple: true
- name: Combine sha256sums
run: |
cat *.txt > sha256sums.txt
cat sha256-*.txt > sha256sums.txt
- name: Delete existing sha256sums
uses: actions/github-script@v6
with:
Expand Down

0 comments on commit 25d378e

Please sign in to comment.