Merge pull request #2922 from dundargoc/ci/cache

ci: add caching to build.yml
This commit is contained in:
Amaan Qureshi 2024-02-04 19:27:59 -05:00 committed by GitHub
commit f2bd0f004f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,11 +98,9 @@ jobs:
with:
version: ${{ env.EMSCRIPTEN_VERSION }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
toolchain: 'stable'
- run: rustup toolchain install stable --profile minimal
- run: rustup target add ${{ matrix.target }}
- uses: Swatinem/rust-cache@v2
- name: Install cross
if: ${{ matrix.use-cross }}