dont need to install rust toolchain twice

This commit is contained in:
botanicvelious 2023-01-22 21:13:25 -07:00 committed by GitHub
parent 5ee350d58d
commit 7f13f28d29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -503,14 +503,6 @@ jobs:
key: ${{ matrix.job.target }}-${{ matrix.job.extra-build-features }}
cache-directories: "/opt/rust-registry"
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.job.target }}
override: true
profile: minimal # minimal component installation (ie, no documentation)
- name: Install local registry
run: |
mkdir -p /opt/rust-registry
@ -669,14 +661,6 @@ jobs:
override: true
profile: minimal # minimal component installation (ie, no documentation)
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.job.target }}
override: true
profile: minimal # minimal component installation (ie, no documentation)
- uses: Swatinem/rust-cache@v2
with:
prefix-key: rustdesk-lib-cache