From 11c294fd1887fdb9ed542f9161c9505956cd628c Mon Sep 17 00:00:00 2001 From: Junya Morioka Date: Thu, 8 Jan 2026 11:12:41 +0900 Subject: [PATCH] fix(ci): run gh release upload from correct repository context Apply the same fix to _build_windows.yml and _build_windows_code_build.yml to ensure gh CLI uses the correct repository context when uploading release assets. --- .github/workflows/_build_windows.yml | 3 +-- .github/workflows/_build_windows_code_build.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/_build_windows.yml b/.github/workflows/_build_windows.yml index 98442e4..665c250 100644 --- a/.github/workflows/_build_windows.yml +++ b/.github/workflows/_build_windows.yml @@ -98,10 +98,9 @@ jobs: - name: Upload Release Asset if: ${{ inputs.is-upload }} shell: pwsh - working-directory: flash-attention env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | $tag_name = "${{ github.ref_name }}" - $wheel_path = "dist/$env:wheel_name" + $wheel_path = "flash-attention/dist/$env:wheel_name" gh release upload "$tag_name" "$wheel_path" --clobber diff --git a/.github/workflows/_build_windows_code_build.yml b/.github/workflows/_build_windows_code_build.yml index 609d810..d79a7d1 100644 --- a/.github/workflows/_build_windows_code_build.yml +++ b/.github/workflows/_build_windows_code_build.yml @@ -95,10 +95,9 @@ jobs: - name: Upload Release Asset if: ${{ inputs.is-upload }} shell: pwsh - working-directory: flash-attention env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | $tag_name = "${{ github.ref_name }}" - $wheel_path = "dist/$env:wheel_name" + $wheel_path = "flash-attention/dist/$env:wheel_name" gh release upload "$tag_name" "$wheel_path" --clobber