mirror of
https://github.com/BillyOutlast/flash-attention-prebuild-wheels-rocm.git
synced 2026-07-01 01:37: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
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user