From 577d86c7b878d0464fa50592c5f398263094d4fb Mon Sep 17 00:00:00 2001 From: arzafran Date: Thu, 1 Oct 2026 17:07:56 -0300 Subject: [PATCH] fix: let release reruns find build payloads from an earlier attempt --- .github/workflows/release.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50bf2c76..1fae9b82 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -499,7 +499,10 @@ jobs: - name: Upload macOS release payload uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: - name: programa-macos-${{ github.run_id }}-${{ github.run_attempt }} + name: programa-macos-${{ github.run_id }} + # One name per run, not per attempt: "Re-run failed jobs" keeps a passed + # build job from an earlier attempt, and assemble-release must still find it. + overwrite: true path: ${{ runner.temp }}/programa-macos-payload/ if-no-files-found: error # The payload carries the dSYMs; keep them well past the default 90-day repo @@ -643,7 +646,10 @@ jobs: - name: Upload Windows release payload uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: - name: programa-windows-${{ github.run_id }}-${{ github.run_attempt }} + name: programa-windows-${{ github.run_id }} + # One name per run, not per attempt: "Re-run failed jobs" keeps a passed + # build job from an earlier attempt, and assemble-release must still find it. + overwrite: true path: ${{ runner.temp }}/programa-windows-payload/ if-no-files-found: error @@ -707,14 +713,14 @@ jobs: - name: Download macOS payload uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 with: - name: programa-macos-${{ github.run_id }}-${{ github.run_attempt }} + name: programa-macos-${{ github.run_id }} path: incoming/macos - name: Download Windows payload if: needs.build-windows.result == 'success' uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 with: - name: programa-windows-${{ github.run_id }}-${{ github.run_attempt }} + name: programa-windows-${{ github.run_id }} path: incoming/windows - name: Note skipped Windows payload