File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,18 @@ jobs:
1919 uses : actions/setup-python@v2
2020 with :
2121 python-version : ${{ matrix.python }}
22+
23+ - name : Get Python Version
24+ id : get_python_version
25+ run : echo "::set-output name=python_version::$(python --version)"
26+
2227 - name : Cache dependencies
2328 uses : actions/cache@v2
2429 with :
2530 path : .venv
26- key : ${{ runner.os }}-${{ matrix.python }}-dependencies-${{ hashFiles('**/poetry.lock') }}
31+ key : ${{ runner.os }}-${{ steps.get_python_version.outputs.python_version }}-dependencies-${{ hashFiles('**/poetry.lock') }}
2732 restore-keys : |
28- ${{ runner.os }}-${{ matrix.python }}-dependencies
33+ ${{ runner.os }}-${{ steps.get_python_version.outputs.python_version }}-dependencies
2934 - name : Install Poetry
3035 run : pip install poetry
3136
You can’t perform that action at this time.
0 commit comments