mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 09:38:16 +03:00
chore: Reduce cache of CI (#9063)
This commit is contained in:
parent
886bf0e9c2
commit
e7ec1e541d
5
.github/workflows/CI.yml
vendored
5
.github/workflows/CI.yml
vendored
@ -659,12 +659,13 @@ jobs:
|
||||
|
||||
- name: Cache execution results
|
||||
uses: actions/cache@v3
|
||||
if: ${{ matrix.settings.crate }} == 'swc' || ${{ startsWith(matrix.settings.crate, 'swc_ecma_transforms_') }}
|
||||
with:
|
||||
path: |
|
||||
.swc-exec-cache
|
||||
key: swc-exec-cache-${{ runner.os }}-${{ matrix.settings.crate }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: swc-exec-cache-${{ matrix.settings.crate }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
swc-exec-cache-${{ matrix.settings.crate }}-${{ runner.os }}
|
||||
swc-exec-cache-${{ matrix.settings.crate }}
|
||||
|
||||
- name: Run cargo test
|
||||
if: matrix.settings.crate != 'swc_plugin_runner' && matrix.settings.crate != 'swc_ecma_minifier' && matrix.settings.crate != 'swc_core' && matrix.settings.crate != 'swc_ecma_quote' && matrix.settings.crate != 'swc_cli' && matrix.settings.crate != 'binding_core_wasm'
|
||||
|
Loading…
Reference in New Issue
Block a user