File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 16
16
strategy :
17
17
matrix :
18
18
runs-on : [ubuntu-latest, windows-latest, macOS-latest]
19
+ compression : ['auto', 'gzip', 'zstd', 'none']
19
20
fail-fast : false
20
21
21
22
runs-on : ${{ matrix.runs-on }}
55
56
56
57
# We're using node -e to call the functions directly available in the @actions/cache package
57
58
- name : Save cache using saveCache()
58
- run : |
59
- node -e "Promise.resolve(require('./packages/cache/lib/cache').saveCache(['test-cache','~/test-cache'],'test-${{ runner.os }}-${{ github.run_id }}'))"
59
+ run : >
60
+ node -e "Promise.resolve(require('./packages/cache/lib/cache').saveCache(
61
+ ['test-cache','~/test-cache'],
62
+ 'test-${{ runner.os }}-${{ github.run_id }}',
63
+ undefined,
64
+ false,
65
+ ${{ matrix.compression }}
66
+ ))"
60
67
61
68
- name : Delete cache folders before restoring
62
69
shell : bash
You can’t perform that action at this time.
0 commit comments