|
10 | 10 | - '*' |
11 | 11 |
|
12 | 12 | env: |
13 | | - CACHE_NUMBER: 2 # increase to reset cache manually |
| 13 | + CACHE_NUMBER: 0 # increase to reset cache manually |
14 | 14 |
|
15 | 15 | jobs: |
16 | 16 | foundation: |
|
29 | 29 | - name: Setup Miniforge |
30 | 30 | uses: conda-incubator/setup-miniconda@v3 |
31 | 31 | with: |
32 | | - miniforge-version: latest |
33 | | - activate-environment: asim-test |
34 | | - python-version: ${{ matrix.python-version }} |
| 32 | + auto-update-conda: true |
| 33 | + miniforge-version: latest |
| 34 | + conda-solver: classic |
| 35 | + activate-environment: asim-test |
| 36 | + python-version: ${{ matrix.python-version }} |
35 | 37 |
|
36 | 38 | - name: Set cache date for year and month |
37 | 39 | run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV |
@@ -112,9 +114,11 @@ jobs: |
112 | 114 | - name: Setup Miniforge |
113 | 115 | uses: conda-incubator/setup-miniconda@v3 |
114 | 116 | with: |
115 | | - miniforge-version: latest |
116 | | - activate-environment: asim-test |
117 | | - python-version: ${{ matrix.python-version }} |
| 117 | + auto-update-conda: true |
| 118 | + miniforge-version: latest |
| 119 | + conda-solver: classic |
| 120 | + activate-environment: asim-test |
| 121 | + python-version: ${{ matrix.python-version }} |
118 | 122 |
|
119 | 123 | - name: Set cache date for year and month |
120 | 124 | run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV |
@@ -193,7 +197,9 @@ jobs: |
193 | 197 | - name: Setup Miniforge |
194 | 198 | uses: conda-incubator/setup-miniconda@v3 |
195 | 199 | with: |
| 200 | + auto-update-conda: true |
196 | 201 | miniforge-version: latest |
| 202 | + conda-solver: classic |
197 | 203 | activate-environment: asim-test |
198 | 204 | python-version: ${{ env.python-version }} |
199 | 205 |
|
@@ -279,7 +285,9 @@ jobs: |
279 | 285 | - name: Setup Miniforge |
280 | 286 | uses: conda-incubator/setup-miniconda@v3 |
281 | 287 | with: |
| 288 | + auto-update-conda: true |
282 | 289 | miniforge-version: latest |
| 290 | + conda-solver: classic |
283 | 291 | activate-environment: asim-test |
284 | 292 | python-version: ${{ env.python-version }} |
285 | 293 |
|
@@ -340,7 +348,9 @@ jobs: |
340 | 348 | - name: Setup Miniforge |
341 | 349 | uses: conda-incubator/setup-miniconda@v3 |
342 | 350 | with: |
| 351 | + auto-update-conda: true |
343 | 352 | miniforge-version: latest |
| 353 | + conda-solver: classic |
344 | 354 | activate-environment: asim-test |
345 | 355 | python-version: ${{ env.python-version }} |
346 | 356 |
|
@@ -390,7 +400,9 @@ jobs: |
390 | 400 | - name: Setup Miniforge |
391 | 401 | uses: conda-incubator/setup-miniconda@v3 |
392 | 402 | with: |
| 403 | + auto-update-conda: true |
393 | 404 | miniforge-version: latest |
| 405 | + conda-solver: classic |
394 | 406 | activate-environment: asim-test |
395 | 407 | python-version: ${{ env.python-version }} |
396 | 408 |
|
@@ -432,6 +444,8 @@ jobs: |
432 | 444 | if: github.ref_name == 'main' |
433 | 445 | name: develop-docbuild |
434 | 446 | runs-on: ubuntu-latest |
| 447 | + permissions: |
| 448 | + contents: write |
435 | 449 | defaults: |
436 | 450 | run: |
437 | 451 | shell: bash -l {0} |
@@ -472,7 +486,7 @@ jobs: |
472 | 486 | make clean |
473 | 487 | make html |
474 | 488 | - name: Push to GitHub Pages |
475 | | - uses: peaceiris/actions-gh-pages@v3.8.0 |
| 489 | + uses: peaceiris/actions-gh-pages@v4 |
476 | 490 | with: |
477 | 491 | github_token: ${{ secrets.GITHUB_TOKEN }} |
478 | 492 | # Token is created automatically by Github Actions, no other config needed |
|
0 commit comments