Skip to content

Commit 3bcc2d4

Browse files
authored
chore: fix the wheel hf uploading (#599)
* fix the hf uploading * use conda python
1 parent 433f0b2 commit 3bcc2d4

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/release-build.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
run: |
9393
pip install huggingface_hub
9494
for whl in dist/*.whl; do
95-
hf upload nunchaku-tech/nunchaku "$whl" .
95+
hf upload nunchaku-tech/nunchaku "$whl"
9696
done
9797
- name: Clean up
9898
if: always()
@@ -141,16 +141,13 @@ jobs:
141141
prerelease: false
142142
env:
143143
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
144-
- name: Set up Python
145-
uses: actions/setup-python@v5
146-
with:
147-
python-version: '3.12'
148144
- name: Upload wheels to HuggingFace Hub
149145
shell: cmd
150146
env:
151147
HF_TOKEN: ${{ secrets.HF_WHEEL_UPLOAD_TOKEN }}
152148
run: |
149+
call C:\Users\muyangl\miniconda3\condabin\activate.bat activate
153150
pip install huggingface_hub
154151
for %%w in (dist\*.whl) do (
155-
hf upload nunchaku-tech/nunchaku "%%w" .
152+
hf upload nunchaku-tech/nunchaku "%%w"
156153
)

0 commit comments

Comments
 (0)