From 08f71d7f67b1e533c2def8540c45fb185fe6dce4 Mon Sep 17 00:00:00 2001 From: Stuart Cameron Date: Mon, 8 Jun 2026 20:49:14 +1000 Subject: [PATCH] Fix build-whisper.yml: set GH_REPO on the arm64 upload step too The earlier GH_REPO fix only landed on the x64 job, so the arm64 release upload still failed with "not a git repository" (the jobs don't check out the repo, so gh can't infer it). Add GH_REPO to the arm64 step to match x64. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/build-whisper.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-whisper.yml b/.github/workflows/build-whisper.yml index 40f8813..9750192 100644 --- a/.github/workflows/build-whisper.yml +++ b/.github/workflows/build-whisper.yml @@ -137,6 +137,9 @@ jobs: if: inputs.release_tag != '' env: GH_TOKEN: ${{ github.token }} + # These jobs do not check out the repo, so gh has no git remote to + # infer the repo from — set it explicitly. + GH_REPO: ${{ github.repository }} run: | gh release view "${{ inputs.release_tag }}" >/dev/null 2>&1 || \ gh release create "${{ inputs.release_tag }}" \