Skip to content

Commit b22c1bf

Browse files
committed
add some amount of caching
1 parent c9b486e commit b22c1bf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build-test-doc_upload.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ jobs:
2525
with:
2626
node-version: 20
2727

28+
- uses: actions/cache@v2
29+
with:
30+
path: |
31+
~/.npm
32+
key: ${{ runner.os }}-npm-${{ hashFiles('package.json') }}
33+
34+
- uses: actions/cache@v2
35+
with:
36+
path: |
37+
~/.cache/pip
38+
key: ${{ runner.os }}-${{ hashFiles('**/requirements*.txt') }}
39+
2840
- name: Install system dependencies
2941
run: |
3042
sudo apt update -y && sudo apt install -y libcurl4-gnutls-dev libgnutls28-dev

0 commit comments

Comments
 (0)