mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Caching based on version and requirements checksum only.
This commit is contained in:
parent
b1d8e33cd8
commit
a658c357a6
1 changed files with 6 additions and 6 deletions
|
|
@ -70,7 +70,7 @@ jobs:
|
|||
- run: sudo apt-get update
|
||||
- run: sudo apt-get install -y ffmpeg
|
||||
- restore_cache:
|
||||
key: deps-{{ .Branch }}-3-8-{{ checksum "requirements.txt" }}
|
||||
key: deps-3.8-{{ checksum "requirements.txt" }}
|
||||
- run:
|
||||
name: Install Requirements
|
||||
command: |
|
||||
|
|
@ -78,7 +78,7 @@ jobs:
|
|||
. venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
- save_cache:
|
||||
key: deps-{{ .Branch }}-3-8-{{ checksum "requirements.txt" }}
|
||||
key: deps-3.8-{{ checksum "requirements.txt" }}
|
||||
paths:
|
||||
- "venv"
|
||||
- run:
|
||||
|
|
@ -96,7 +96,7 @@ jobs:
|
|||
- run: sudo apt-get update
|
||||
- run: sudo apt-get install -y ffmpeg
|
||||
- restore_cache:
|
||||
key: deps-{{ .Branch }}-3-9-{{ checksum "requirements.txt" }}
|
||||
key: deps-3.9-{{ checksum "requirements.txt" }}
|
||||
- run:
|
||||
name: Install Requirements
|
||||
command: |
|
||||
|
|
@ -104,7 +104,7 @@ jobs:
|
|||
. venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
- save_cache:
|
||||
key: deps-{{ .Branch }}-3-9-{{ checksum "requirements.txt" }}
|
||||
key: deps-3.9-{{ checksum "requirements.txt" }}
|
||||
paths:
|
||||
- "venv"
|
||||
- run:
|
||||
|
|
@ -122,7 +122,7 @@ jobs:
|
|||
- run: sudo apt-get update
|
||||
- run: sudo apt-get install -y ffmpeg
|
||||
- restore_cache:
|
||||
key: deps-{{ .Branch }}-3-10-{{ checksum "requirements.txt" }}
|
||||
key: deps-3.10-{{ checksum "requirements.txt" }}
|
||||
- run:
|
||||
name: Install Requirements
|
||||
command: |
|
||||
|
|
@ -130,7 +130,7 @@ jobs:
|
|||
. venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
- save_cache:
|
||||
key: deps-{{ .Branch }}-3-10-{{ checksum "requirements.txt" }}
|
||||
key: deps-3.10-{{ checksum "requirements.txt" }}
|
||||
paths:
|
||||
- "venv"
|
||||
- run:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue