Commit 95f99a2 1 parent 0ddc470 commit 95f99a2 Copy full SHA for 95f99a2
File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 68
68
./examples/mobc/tools/.crates2.json
69
69
key : ${{ matrix.c2a_user }}-${{ runner.os }}-tools-${{ hashFiles('${{ matrix.c2a_user }}/tools/install.sh', '${{ matrix.c2a_user }}/tools/package.json') }}
70
70
71
+ - name : Get Rust toolchain
72
+ id : toolchain
73
+ run : |
74
+ awk -F'[ ="]+' '$1 == "channel" { print "toolchain=" $2 }' rust-toolchain.toml >> "$GITHUB_OUTPUT"
75
+
71
76
- uses : dtolnay/rust-toolchain@stable
72
77
with :
78
+ toolchain : ${{ steps.toolchain.outputs.toolchain }}
73
79
targets : i686-unknown-linux-gnu
74
80
components : clippy, rustfmt
75
81
Original file line number Diff line number Diff line change 24
24
sudo apt-get update -y
25
25
sudo apt-get install -y gcc-multilib g++-multilib
26
26
27
+ - name : Get Rust toolchain
28
+ id : toolchain
29
+ run : |
30
+ awk -F'[ ="]+' '$1 == "channel" { print "toolchain=" $2 }' rust-toolchain.toml >> "$GITHUB_OUTPUT"
31
+
27
32
- uses : dtolnay/rust-toolchain@v1
28
33
with :
29
- toolchain : stable
34
+ toolchain : ${{ steps.toolchain.outputs.toolchain }}
30
35
targets : i686-unknown-linux-gnu
31
36
components : clippy, rustfmt
32
37
You can’t perform that action at this time.
0 commit comments