fix(ci): run gh release upload from correct repository context

Remove working-directory from Upload Release Asset step to ensure
gh CLI uses the correct repository (flash-attention-prebuild-wheels)
instead of the cloned flash-attention repository.
This commit is contained in:
Junya Morioka
2026-01-08 11:10:00 +09:00
parent 72a0037e34
commit 197f0e7693
@@ -107,12 +107,11 @@ 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
# Cleanup step - always runs even if previous steps fail