From a97f6bc50aeb444bd328d8c29203f7c49b5fa641 Mon Sep 17 00:00:00 2001 From: Aneesh Atri Date: Fri, 20 Sep 2024 09:38:04 -0400 Subject: [PATCH] try merging checksums --- .github/workflows/dd-build.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dd-build.yaml b/.github/workflows/dd-build.yaml index 0fe38be3558..c074fdb76ec 100644 --- a/.github/workflows/dd-build.yaml +++ b/.github/workflows/dd-build.yaml @@ -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