Skip to content

Commit

Permalink
simplifying pip package install
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleniemeyer committed Dec 22, 2022
1 parent d9d76b8 commit 586c0cd
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,19 @@ jobs:
- name: Upgrade pip
run: python3 -m pip install --upgrade pip setuptools wheel

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/freeze.txt') }}
restore-keys: ${{ runner.os }}-pip-
# - name: Cache dependencies
# uses: actions/cache@v3.2.0
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-pip-${{ hashFiles('**/freeze.txt') }}
# restore-keys: ${{ runner.os }}-pip-

# - name: Install dependencies
# run: |
# python3 -m pip install --no-deps -r freeze.txt
- name: Install dependencies
run: |
python3 -m pip install --no-deps -r freeze.txt
python3 -m pip install -r requirements.txt
# Build the book
- name: Build the book
Expand Down

0 comments on commit 586c0cd

Please sign in to comment.