dont need rust toolchain twice

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

View File

@ -649,14 +649,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
@ -815,14 +807,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