From d1aaacbbe6f34d96d0c282cd6a6fe672399e7072 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Wed, 25 Nov 2026 07:39:43 +0000 Subject: [PATCH] fix(release): Windows builds fetch the WSL CLI archive the wait already found The Windows arm64 build saw cli-linux-arm64 in the run's artifact API and then download-artifact, going through the runner's artifact service, said it did not exist. Give the download a token so it looks the artifact up through the same REST API the wait polls. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release-desktop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml index 2d3a38168c79..82b48cd9b968 100644 --- a/.github/workflows/release-desktop.yml +++ b/.github/workflows/release-desktop.yml @@ -571,12 +571,16 @@ jobs: Start-Sleep -Seconds 10 } + # The token makes the action look the artifact up through the REST API + # the wait above polls. Without it the runner's artifact service is used, + # which can lag that API by seconds and report the artifact missing. - name: Download Linux CLI archive for WSL if: inputs.platform == 'win' uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: cli-linux-${{ inputs.arch }} path: wsl-runtime + github-token: ${{ github.token }} - name: Build desktop artifact shell: bash