Skip to content

Commit 1c8f8ed

Browse files
committed
Try to let rust auto configure toolchain/target architecture
1 parent 1953d04 commit 1c8f8ed

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,13 @@ jobs:
4141
python-version: ${{ matrix.python-version }}
4242

4343
# Configure Rust for 32-bit builds
44-
#
45-
# NOTE: Refer to install_loader/rust-toolchain.toml for the installed toolchain and target architecture
46-
# Please use fixed versions of rust so that installs build consistently
47-
# (So they don't randomly trigger Windows Defender)
48-
#
49-
# CACHE NOTE: This action also provides Github Actions caching of rust builds (uses Swatinem/rust-cache internally)
50-
- name: Install and configure rust for 32-bit builds
51-
uses: actions-rust-lang/setup-rust-toolchain@v1
52-
working-directory: ./install_loader
44+
# NOTE: install_loader/rust-toolchain.toml now used to set toolchain and target architecture
45+
46+
# Caching for Rust
47+
- name: Cache rust builds
48+
uses: Swatinem/rust-cache@v2
49+
with:
50+
workspaces: install_loader
5351

5452
# Run Python Deploy Script
5553
# This also installs and scans .exe with virustotal on Windows (to try prevent .exe virus false positives)

0 commit comments

Comments
 (0)