Skip to content

Update actions/cache action to v4.2.0 #74

Update actions/cache action to v4.2.0

Update actions/cache action to v4.2.0 #74

name: Sync With Hugging Face Hub
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Cache
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/.gitignore') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Sync With Hugging Face Hub
uses: nateraw/[email protected]
with:
github_repo_id: "MH0386/napoleon_dataset"
huggingface_repo_id: "MH0386/napoleon_bonaparte"
hf_token: ${{ secrets.HF_TOKEN }}
repo_type: "dataset"