Skip to content

Commit 903e6bc

Browse files
committed
fix(ci): template injection
1 parent a421d16 commit 903e6bc

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/cont_integration.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ jobs:
2424
uses: actions/checkout@v4
2525

2626
- 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
2832

2933
- name: "Cache"
3034
uses: actions/cache@v3
@@ -36,7 +40,10 @@ jobs:
3640
key: ${{ runner.os }}-cargo-${{ hashFiles('.cache_key') }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
3741

3842
- 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 }}
4047

4148
- name: "Set profile"
4249
run: rustup set profile minimal

0 commit comments

Comments
 (0)