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