Skip to content

Commit

Permalink
updated cache version
Browse files Browse the repository at this point in the history
  • Loading branch information
taha-abdullah committed Mar 22, 2024
1 parent 0f7eba5 commit 5ff4c20
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,20 @@ jobs:
with:
path: ./dev

- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('dev/requirements.txt') }}
key: ${{ runner.os }}-pip-${{ hashFiles('dev/doc-requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
- name: Install package
run: |
python -m pip install --progress-bar off --upgrade pip setuptools wheel
Expand Down

0 comments on commit 5ff4c20

Please sign in to comment.