diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 5126cb931..0afc12faf 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -241,7 +241,7 @@ jobs: conda activate hf-upload python -m pip install hf-transfer huggingface_hub huggingface-cli login --token ${{ secrets.HUGGINGFACE_TOKEN_WRITE }} --add-to-git-credential - huggingface-cli upload ${{env.HF_REPO}} venv.zip . --revision ${{env.HF_PREFIX_BRANCH}}-${{ matrix.os }}-${{ matrix.name }}" + huggingface-cli upload ${{env.HF_REPO}} venv.zip . --revision ${{env.HF_PREFIX_BRANCH}}-${{ matrix.os }}-${{ matrix.name }} rm -rf venv.zip huggingface-cli logout @@ -256,7 +256,7 @@ jobs: conda activate hf-upload python -m pip install hf-transfer huggingface_hub huggingface-cli login --token ${{ secrets.HUGGINGFACE_TOKEN_WRITE }} --add-to-git-credential - huggingface-cli upload ${{env.HF_REPO}} venv.zip . --revision ${{env.HF_PREFIX_BRANCH}}-${{ matrix.os }}-${{ matrix.name }}" + huggingface-cli upload ${{env.HF_REPO}} venv.zip . --revision ${{env.HF_PREFIX_BRANCH}}-${{ matrix.os }}-${{ matrix.name }} rm -rf venv.zip huggingface-cli logout