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.
This commit is contained in:
Junya Morioka
2026-01-08 11:12:41 +09:00
parent 197f0e7693
commit 11c294fd18
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -98,10 +98,9 @@ jobs:
- name: Upload Release Asset - name: Upload Release Asset
if: ${{ inputs.is-upload }} if: ${{ inputs.is-upload }}
shell: pwsh shell: pwsh
working-directory: flash-attention
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
$tag_name = "${{ github.ref_name }}" $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 gh release upload "$tag_name" "$wheel_path" --clobber
@@ -95,10 +95,9 @@ jobs:
- name: Upload Release Asset - name: Upload Release Asset
if: ${{ inputs.is-upload }} if: ${{ inputs.is-upload }}
shell: pwsh shell: pwsh
working-directory: flash-attention
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
$tag_name = "${{ github.ref_name }}" $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 gh release upload "$tag_name" "$wheel_path" --clobber