Skip to content

Commit 8f8d663

Browse files
committed
Update build.yaml
1 parent 08aee8b commit 8f8d663

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,13 @@ jobs:
4444
- name: Checkout source
4545
uses: actions/[email protected]
4646

47-
- name: Install Rust toolchain
48-
uses: actions-rs/toolchain@v1
49-
with:
50-
profile: minimal
51-
toolchain: nightly
52-
target: ${{ matrix.target }}
53-
components: rust-src
54-
default: true
55-
override: true
47+
- name: Install Rust nightly
48+
run: |
49+
rustup toolchain install nightly --profile minimal --target ${{ matrix.target }}
50+
rustup default nightly
51+
52+
- name: Check rustc version
53+
run: rustc --version --verbose
5654

5755
- name: Build for ${{ matrix.target }}
5856
run: cargo build --release --target=${{ matrix.target }}

0 commit comments

Comments
 (0)