mirror of
https://github.com/BillyOutlast/flash-attention-prebuild-wheels-rocm.git
synced 2026-06-30 23:57:53 -04:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user