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 24
24
uses : actions/checkout@v4
25
25
26
26
- name : " Generate cache key"
27
- run : echo "${{ matrix.rust.version }} ${{ matrix.features }}" | tee .cache_key
27
+ env :
28
+ MATRIX_RUST_VERSION : ${{ matrix.rust.version }}
29
+ MATRIX_FEATURES : ${{ matrix.features }}
30
+ run : echo "$MATRIX_RUST_VERSION $MATRIX_FEATURES" | tee .cache_key
31
+ # run: echo "${{ matrix.rust.version }} ${{ matrix.features }}" | tee .cache_key
28
32
29
33
- name : " Cache"
30
34
uses : actions/cache@v3
36
40
key : ${{ runner.os }}-cargo-${{ hashFiles('.cache_key') }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
37
41
38
42
- name : " Set default toolchain"
39
- run : rustup default ${{ matrix.rust.version }}
43
+ env :
44
+ MATRIX_RUST_VERSION : ${{ matrix.rust.version }}
45
+ run : rustup default $MATRIX_RUST_VERSION
46
+ # run: rustup default ${{ matrix.rust.version }}
40
47
41
48
- name : " Set profile"
42
49
run : rustup set profile minimal
You can’t perform that action at this time.
0 commit comments