File tree Expand file tree Collapse file tree 1 file changed +16
-20
lines changed
Expand file tree Collapse file tree 1 file changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -25,30 +25,26 @@ runs:
2525 with :
2626 python-version : ${{ inputs.python_version }}
2727
28- # - name: Restore python site-packages from cache
29- # id: restore-python-cache
30- # uses: actions/cache/restore@v4
31- # with:
32- # path: |
33- # ~/.local/lib/python${{ inputs.python_version }}/site-packages
34- # key: pygl-${{ inputs.python_version }}-${{ inputs.version }}
28+ - name : Restore python site-packages from cache
29+ id : restore-python-cache
30+ uses : actions/cache/restore@v4
31+ with :
32+ path : |
33+ ~/.local/lib/python${{ inputs.python_version }}/site-packages
34+ ~/.local/bin
35+ key : pygl-${{ runner.arch }}-${{ inputs.python_version }}-${{ inputs.version }}
3536
3637 - name : Install GardenLinux Python library
3738 shell : bash
3839 run : |
3940 pip install --user \
4041 https://github.com/gardenlinux/python-gardenlinux-lib/releases/download/${{ inputs.version }}/gardenlinux-${{ inputs.version }}-py3-none-any.whl
4142
42- - name : Debug
43- shell : bash
44- run : |
45- ls -l ~/.local/bin
46- echo $PATH
47-
48- # - name: Cache python site-packages
49- # id: save-python-cache
50- # uses: actions/cache/save@v4
51- # with:
52- # path: |
53- # ~/.local/lib/python${{ inputs.python_version }}/site-packages
54- # key: pygl-${{ inputs.python_version }}-${{ inputs.version }}
43+ - name : Cache python site-packages
44+ id : save-python-cache
45+ uses : actions/cache/save@v4
46+ with :
47+ path : |
48+ ~/.local/lib/python${{ inputs.python_version }}/site-packages
49+ ~/.local/bin
50+ key : pygl-${{ runner.arch }}-${{ inputs.python_version }}-${{ inputs.version }}
You can’t perform that action at this time.
0 commit comments