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:
19
19
uses : actions/setup-python@v2
20
20
with :
21
21
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
+
22
27
- name : Cache dependencies
23
28
uses : actions/cache@v2
24
29
with :
25
30
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') }}
27
32
restore-keys : |
28
- ${{ runner.os }}-${{ matrix.python }}-dependencies
33
+ ${{ runner.os }}-${{ steps.get_python_version.outputs.python_version }}-dependencies
29
34
- name : Install Poetry
30
35
run : pip install poetry
31
36
You can’t perform that action at this time.
0 commit comments