File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 contents : write
1212 env :
1313 LAUNCHER_PATH : target\i686-win7-windows-msvc\release\HMCLauncher.exe
14+ RUST_TOOLCHAIN : nightly-2026-04-16
1415 steps :
1516 - uses : actions/checkout@v4
1617 - uses : actions/checkout@v4
2324 run : echo "SHORT_SHA=$("${{ github.sha }}".Substring(0, 7))" >> $env:GITHUB_ENV
2425 - name : Setup Rust
2526 shell : pwsh
26- run : rustup toolchain install nightly --profile minimal --component rust-src --target i686-win7-windows-msvc
27+ run : rustup toolchain install $env:RUST_TOOLCHAIN --profile minimal --component rust-src
2728 - name : Setup Java
2829 uses : actions/setup-java@v4
2930 with :
3334 cache : gradle
3435 - name : Build HMCLauncher
3536 shell : pwsh
36- run : cargo +nightly build --release --locked
37+ run : cargo build --release --locked
3738 - name : Create checksum file
3839 shell : pwsh
3940 run : Out-File -InputObject (Get-FileHash -Path $env:LAUNCHER_PATH -Algorithm SHA256).Hash.ToLower() -FilePath "$env:LAUNCHER_PATH.sha256" -NoNewline
Original file line number Diff line number Diff line change 11[toolchain ]
2- channel = " nightly"
2+ channel = " nightly-2026-04-16 "
33components = [" rust-src" ]
You can’t perform that action at this time.
0 commit comments