Skip to content

Commit

Permalink
try merging checksums
Browse files Browse the repository at this point in the history
  • Loading branch information
aneesh1 committed Sep 20, 2024
1 parent cecefea commit 7e49861
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/dd-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,26 @@ jobs:
id: calculate_checksums
shell: bash
working-directory: release/
env:
ETCD_BUILD_PLATFORM: ${{ matrix.platform }}
run: ls . | grep -E '\.tar.gz$|\.zip$' | xargs shasum -a 256 > ./SHA256SUMS
- uses: actions/upload-artifact@v4
with:
name: etcd_output_${{ env.SANITIZED_TARGET_PLATFORM }}
path: release/etcd-${{ env.RELEASE_VERSION }}-${{ env.SANITIZED_TARGET_PLATFORM }}*
env:
SANITIZED_TARGET_PLATFORM: ${{ env.SANITIZED_TARGET_PLATFORM }}
- uses: actions/upload-artifact@v4
with:
name: etcd_output_checksums
name: etcd_output_checksums_${{ env.SANITIZED_TARGET_PLATFORM }}
path: release/SHA256SUMS
env:
SANITIZED_TARGET_PLATFORM: ${{ env.SANITIZED_TARGET_PLATFORM }}
- name: Merge checksums
uses: actions/upload-artifact/merge@v4
if: always()
with:
name: etcd_output_checksums
pattern: etcd_output_checksums_*
delete-merged: true
release:
permissions:
contents: write
Expand Down

0 comments on commit 7e49861

Please sign in to comment.