mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-04-03 03:00:17 -04:00
enable pip cache
This commit is contained in:
10
.github/workflows/test-models.yml
vendored
10
.github/workflows/test-models.yml
vendored
@@ -45,15 +45,7 @@ jobs:
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Setup pip cache
|
||||
uses: actions/cache@v3
|
||||
if: matrix.os == 'a100' || matrix.os == 'ubuntu-latest'
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ matrix.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ matrix.os }}-pip-
|
||||
cache: 'pip'
|
||||
|
||||
- name: Install dependencies
|
||||
if: matrix.suite == 'lint'
|
||||
|
||||
Reference in New Issue
Block a user