Skip to content

Commit

Permalink
CI pip cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ddugovic committed Nov 24, 2022
1 parent 8393312 commit 2487e2f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
sudo apt install python3.8-tk
Expand Down

0 comments on commit 2487e2f

Please sign in to comment.