Skip to content

Commit 59c8246

Browse files
authored
Update Rust toolchain installation method (#716)
* Update Rust toolchain installation method Replaced actions-rs/toolchain with rustup for toolchain installation. * Update builds.yml * Add workflow_dispatch trigger to builds.yml
1 parent 7688e49 commit 59c8246

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/builds.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ on:
2525
paths:
2626
- livekit/**
2727
- libwebrtc/**
28+
workflow_dispatch:
2829

2930
env:
3031
CARGO_TERM_COLOR: always
@@ -80,10 +81,9 @@ jobs:
8081
run: |
8182
sudo apt install -y libva-dev libdrm-dev libnvidia-compute-570 libnvidia-decode-570 nvidia-cuda-dev -y
8283
83-
- uses: actions-rs/toolchain@v1
84-
with:
85-
toolchain: stable
86-
target: ${{ matrix.target }}
84+
- name: Install Rust toolchain.
85+
run: |
86+
rustup target add ${{ matrix.target }}
8787
8888
- name: Build (Cargo)
8989
if: ${{ !contains(matrix.target, 'android') }}

0 commit comments

Comments
 (0)