File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,21 @@ jobs:
40
40
with :
41
41
python-version : ${{ matrix.python-version }}
42
42
43
- # Configure Rust for 32-bit builds
44
- # NOTE: install_loader/rust-toolchain.toml now used to set toolchain and target architecture
43
+ # To get around setup-rust-toolchain@v1 not detecting install_loader/rust-toolchain.toml
44
+ # since it is in a subfolder, copy it out to the root directory
45
+ - name : Copy rust-toolchain.toml for actions-rust-lang/setup-rust-toolchain
46
+ run : cp ./install_loader/rust-toolchain.toml .
45
47
46
- # Caching for Rust
47
- - name : Cache rust builds
48
- uses : Swatinem/rust-cache@v2
49
- with :
50
- workspaces : install_loader
48
+ # Configure Rust for 32-bit builds
49
+ #
50
+ # NOTE: Refer to install_loader/rust-toolchain.toml for the installed toolchain and target architecture
51
+ # Please use fixed versions of rust so that installs build consistently
52
+ # (So they don't randomly trigger Windows Defender)
53
+ #
54
+ # CACHE NOTE: This action also provides Github Actions caching of rust builds (uses Swatinem/rust-cache internally)
55
+ - name : Install and configure rust for 32-bit builds
56
+ uses : actions-rust-lang/setup-rust-toolchain@v1
57
+ working-directory : ./install_loader
51
58
52
59
# Run Python Deploy Script
53
60
# This also installs and scans .exe with virustotal on Windows (to try prevent .exe virus false positives)
You can’t perform that action at this time.
0 commit comments