|
56 | 56 | python -m pip install --upgrade pip
|
57 | 57 | python -m pip install coveralls poetry wheel twine
|
58 | 58 | python -m pip install .[all]
|
| 59 | + - name: Install renku into cache |
| 60 | + if: steps.cache.outputs.cache-hit == 'true' |
| 61 | + run: python -m pip install --no-deps . |
59 | 62 | - name: Set Git config
|
60 | 63 | run: |
|
61 | 64 | git config --global --add user.name "Renku @ SDSC"
|
|
91 | 94 | python -m pip install --upgrade pip
|
92 | 95 | python -m pip install coveralls poetry wheel twine
|
93 | 96 | python -m pip install .[all]
|
| 97 | + - name: Install renku into cache |
| 98 | + if: steps.cache.outputs.cache-hit == 'true' |
| 99 | + run: python -m pip install --no-deps . |
94 | 100 | - name: Set Git config
|
95 | 101 | run: |
|
96 | 102 | git config --global --add user.name "Renku @ SDSC"
|
@@ -120,10 +126,14 @@ jobs:
|
120 | 126 | renku/templates
|
121 | 127 | key: ${{env.CACHE_PREFIX}}-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-${{hashFiles('poetry.lock')}}-${{hashFiles('build.py')}}
|
122 | 128 | - name: Install dependencies
|
| 129 | + if: steps.cache.outputs.cache-hit != 'true' || 'refs/heads/master' == github.ref || startsWith(github.ref, 'refs/tags/') |
123 | 130 | run: |
|
124 | 131 | python -m pip install --upgrade pip
|
125 | 132 | python -m pip install coveralls poetry wheel twine
|
126 | 133 | pip install .[all]
|
| 134 | + - name: Install renku into cache |
| 135 | + if: steps.cache.outputs.cache-hit == 'true' |
| 136 | + run: python -m pip install --no-deps . |
127 | 137 | - name: Build Package
|
128 | 138 | env:
|
129 | 139 | POETRY_VIRTUALENVS_CREATE: false
|
@@ -163,6 +173,9 @@ jobs:
|
163 | 173 | python -m pip install --upgrade pip
|
164 | 174 | python -m pip install coveralls poetry wheel twine
|
165 | 175 | python -m pip install .[all]
|
| 176 | + - name: Install renku into cache |
| 177 | + if: steps.cache.outputs.cache-hit == 'true' |
| 178 | + run: python -m pip install --no-deps . |
166 | 179 | - name: Set Git config
|
167 | 180 | run: |
|
168 | 181 | git config --global --add user.name "Renku @ SDSC"
|
@@ -214,6 +227,9 @@ jobs:
|
214 | 227 | python -m pip install --upgrade pip
|
215 | 228 | python -m pip install coveralls poetry wheel twine
|
216 | 229 | python -m pip install .[all]
|
| 230 | + - name: Install renku into cache |
| 231 | + if: steps.cache.outputs.cache-hit == 'true' |
| 232 | + run: python -m pip install --no-deps . |
217 | 233 | - name: Set Git config
|
218 | 234 | run: |
|
219 | 235 | git config --global --add user.name "Renku @ SDSC"
|
@@ -271,6 +287,9 @@ jobs:
|
271 | 287 | python -m pip install --upgrade pip
|
272 | 288 | python -m pip install coveralls poetry wheel twine
|
273 | 289 | python -m pip install .[all]
|
| 290 | + - name: Install renku into cache |
| 291 | + if: steps.cache.outputs.cache-hit == 'true' |
| 292 | + run: python -m pip install --no-deps . |
274 | 293 | - name: Set Git config
|
275 | 294 | run: |
|
276 | 295 | git config --global --add user.name "Renku @ SDSC"
|
@@ -328,6 +347,9 @@ jobs:
|
328 | 347 | python -m pip install --upgrade pip
|
329 | 348 | python -m pip install coveralls poetry wheel twine
|
330 | 349 | python -m pip install .[all]
|
| 350 | + - name: Install renku into cache |
| 351 | + if: steps.cache.outputs.cache-hit == 'true' |
| 352 | + run: python -m pip install --no-deps . |
331 | 353 | - name: Set Git config
|
332 | 354 | run: |
|
333 | 355 | git config --global --add user.name "Renku @ SDSC"
|
@@ -528,6 +550,9 @@ jobs:
|
528 | 550 | python -m pip install --upgrade pip
|
529 | 551 | python -m pip install coveralls poetry wheel twine
|
530 | 552 | python -m pip install .[all]
|
| 553 | + - name: Install renku into cache |
| 554 | + if: steps.cache.outputs.cache-hit == 'true' |
| 555 | + run: python -m pip install --no-deps . |
531 | 556 | - name: Set Git config
|
532 | 557 | run: |
|
533 | 558 | git config --global --add user.name "Renku @ SDSC"
|
@@ -595,6 +620,9 @@ jobs:
|
595 | 620 | python -m pip install --upgrade pip
|
596 | 621 | python -m pip install coveralls poetry wheel twine
|
597 | 622 | python -m pip install .[all]
|
| 623 | + - name: Install renku into cache |
| 624 | + if: steps.cache.outputs.cache-hit == 'true' |
| 625 | + run: python -m pip install --no-deps . |
598 | 626 | - name: Set Git config
|
599 | 627 | run: |
|
600 | 628 | git config --global --add user.name "Renku @ SDSC"
|
|
0 commit comments