|
35 | 35 | key: >-
|
36 | 36 | ${{ env.CACHE_VERSION}}-${{ runner.os }}-base-venv-${{
|
37 | 37 | steps.python.outputs.python-version }}-${{
|
38 |
| - hashFiles('setup.py') }} |
| 38 | + hashFiles('setup.cfg') }} |
39 | 39 | restore-keys: |
|
40 | 40 | ${{ env.CACHE_VERSION}}-${{ runner.os }}-base-venv-${{ steps.python.outputs.python-version }}-
|
41 | 41 | - name: Create Python virtual environment
|
|
66 | 66 | key: >-
|
67 | 67 | ${{ env.CACHE_VERSION}}-${{ runner.os }}-base-venv-${{
|
68 | 68 | steps.python.outputs.python-version }}-${{
|
69 |
| - hashFiles('setup.py') }} |
| 69 | + hashFiles('setup.cfg') }} |
70 | 70 | - name: Fail job if Python cache restore failed
|
71 | 71 | if: steps.cache-venv.outputs.cache-hit != 'true'
|
72 | 72 | run: |
|
@@ -107,7 +107,7 @@ jobs:
|
107 | 107 | key: >-
|
108 | 108 | ${{ env.CACHE_VERSION}}-${{ runner.os }}-base-venv-${{
|
109 | 109 | steps.python.outputs.python-version }}-${{
|
110 |
| - hashFiles('setup.py') }} |
| 110 | + hashFiles('setup.cfg') }} |
111 | 111 | - name: Fail job if Python cache restore failed
|
112 | 112 | if: steps.cache-venv.outputs.cache-hit != 'true'
|
113 | 113 | run: |
|
@@ -150,7 +150,7 @@ jobs:
|
150 | 150 | key: >-
|
151 | 151 | ${{ env.CACHE_VERSION}}-${{ runner.os }}-base-venv-${{
|
152 | 152 | steps.python.outputs.python-version }}-${{
|
153 |
| - hashFiles('setup.py') }} |
| 153 | + hashFiles('setup.cfg') }} |
154 | 154 | - name: Fail job if Python cache restore failed
|
155 | 155 | if: steps.cache-venv.outputs.cache-hit != 'true'
|
156 | 156 | run: |
|
@@ -196,7 +196,7 @@ jobs:
|
196 | 196 | key: >-
|
197 | 197 | ${{ env.CACHE_VERSION}}-${{ runner.os }}-base-venv-${{
|
198 | 198 | steps.python.outputs.python-version }}-${{
|
199 |
| - hashFiles('setup.py') }} |
| 199 | + hashFiles('setup.cfg') }} |
200 | 200 | - name: Fail job if Python cache restore failed
|
201 | 201 | if: steps.cache-venv.outputs.cache-hit != 'true'
|
202 | 202 | run: |
|
@@ -243,7 +243,7 @@ jobs:
|
243 | 243 | key: >-
|
244 | 244 | ${{ env.CACHE_VERSION}}-${{ runner.os }}-base-venv-${{
|
245 | 245 | steps.python.outputs.python-version }}-${{
|
246 |
| - hashFiles('setup.py') }} |
| 246 | + hashFiles('setup.cfg') }} |
247 | 247 | - name: Fail job if Python cache restore failed
|
248 | 248 | if: steps.cache-venv.outputs.cache-hit != 'true'
|
249 | 249 | run: |
|
@@ -298,7 +298,7 @@ jobs:
|
298 | 298 | key: >-
|
299 | 299 | ${{ env.CACHE_VERSION}}-${{ runner.os }}-base-venv-${{
|
300 | 300 | steps.python.outputs.python-version }}-${{
|
301 |
| - hashFiles('setup.py') }} |
| 301 | + hashFiles('setup.cfg') }} |
302 | 302 | - name: Fail job if Python cache restore failed
|
303 | 303 | if: steps.cache-venv.outputs.cache-hit != 'true'
|
304 | 304 | run: |
|
|
0 commit comments