Skip to content

Commit

Permalink
test hf cli on ubuntu-latest
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Luar <[email protected]>
  • Loading branch information
luarss committed Oct 27, 2024
1 parent 28fa6fd commit d36b013
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ jobs:
runs-on: ubuntu-latest
environment: production
steps:
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install huggingface-hub[cli]
- name: check hfcli
run: |
huggingface-cli login --token ${{ secrets.HF_TOKEN }}
Expand Down

0 comments on commit d36b013

Please sign in to comment.