diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-12 12:07:37 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-12 12:07:37 -0500 |
| commit | 3713a10b644f3a99207201ba02956f4b3bdc9d1a (patch) | |
| tree | a9052084ac3a643bb78ebde85ef593dfefa59341 /.github/workflows/ci.yml | |
| parent | 120bc5450f98fe95bc3ae2a06b1c345bbb1e18c1 (diff) | |
chore(ci): use mtime cache for fastci (#17373)
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae5224e9f..ca3430234 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,9 +113,9 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.8 - if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'')' + if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (matrix.job != ''lint''))' - name: Remove unused versions of Python - if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (startsWith(matrix.os, ''windows'')))' + if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (matrix.job != ''lint'' && (startsWith(matrix.os, ''windows''))))' shell: pwsh run: |- $env:PATH -split ";" | @@ -269,7 +269,7 @@ jobs: key: never_saved restore-keys: '18-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-' - name: Apply and update mtime cache - if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (matrix.profile == ''release''))' + if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (!startsWith(github.ref, ''refs/tags/'')))' uses: ./.github/mtime_cache with: cache-path: ./target |
