File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1717
1818 build :
1919 runs-on : ubuntu-latest
20+ env :
21+ UV_CACHE_DIR : /tmp/.uv-cache
2022
2123 steps :
2224 - name : Checkout repository
2628 fetch-depth : 0
2729
2830 - name : Cache bin
29- id : cache-bin
3031 uses : actions/cache@v4
3132 with :
3233 path : |
@@ -59,18 +60,16 @@ jobs:
5960 run : |
6061 make submodules
6162
62- - name : Cache python venv
63- id : cache-python
63+ - name : Restore uv cache
6464 uses : actions/cache@v4
6565 with :
66- path : fprime-venv
67- key : python-venv- ${{ runner.os }}-${{ hashFiles('uv.lock') }}-v3
68- restore-keys : |
69- python-venv- ${{ runner.os }}-
70- python-venv-
66+ path : /tmp/.uv-cache
67+ key : uv- ${{ runner.os }}-${{ hashFiles('uv.lock') }}
68+ restore-keys : |
69+ uv- ${{ runner.os }}-${{ hashFiles('uv.lock') }}
70+ uv-${{ runner.os }}
7171
7272 - name : Setup python venv
73- if : steps.cache-python.outputs.cache-hit != 'true'
7473 run : |
7574 make fprime-venv
7675
@@ -107,3 +106,6 @@ jobs:
107106 build-artifacts/zephyr.uf2
108107 build-artifacts/zephyr/fprime-zephyr-deployment/dict/ReferenceDeploymentTopologyDictionary.json
109108 retention-days : 30
109+
110+ - name : Minimize uv cache
111+ run : uv cache prune --ci
You can’t perform that action at this time.
0 commit comments