File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
12name : rust-toolchain
23description : " Sets up a standard rust toolchain"
34inputs :
1819 DEFAULT_TOOLCHAIN=$(grep channel rust-toolchain.toml | awk '{print $3}' | sed 's/"//g')
1920 TOOLCHAIN=${USER_OVERRIDE:-$DEFAULT_TOOLCHAIN}
2021 echo "toolchain=$TOOLCHAIN" >> $GITHUB_OUTPUT
21-
22- - uses : actions-rs/toolchain@v1
22+ - uses : dtolnay/rust-toolchain@stable
2323 with :
24- profile : minimal
2524 toolchain : ${{ steps.get-toolchain.outputs.toolchain }}
26- override : true
2725 - uses : Swatinem/rust-cache@v2.0.0
2826 with :
2927 shared-key : ${{ steps.get-toolchain.outputs.toolchain }}
3331 - run : git config --global url."https://${{ inputs.token }}@github.com/".insteadOf "git@github.com:"
3432 if : ${{ inputs.token != null }}
3533 shell : bash
34+ - run : git config --global url."https://${{ inputs.token }}@github.com".insteadOf "ssh://git@github.com"
35+ if : ${{ inputs.token != null }}
36+ shell : bash
Original file line number Diff line number Diff line change 1+ ---
12name : ci-rust-push
23
34on :
You can’t perform that action at this time.
0 commit comments