Skip to content

Commit

Permalink
chore: improve ci powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Jan 10, 2025
1 parent 4e70c87 commit ce58b29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
$deps = @(
@{ Name = 'Visual Studio 2022 Build Tools (aarch64)'; Hash = $null;
Url = 'https://aka.ms/vs/17/release/vs_buildtools.exe';
Args = @('/S', '--add', 'Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core', '--add', 'Microsoft.VisualStudio.Component.VC.Tools.ARM64', '--add', 'Microsoft.VisualStudio.Component.Windows11SDK.22621') },
Args = @('--quiet', '--wait', '--norestart', --nocache', '--add', 'Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core', '--add', 'Microsoft.VisualStudio.Component.VC.Tools.ARM64', '--add', 'Microsoft.VisualStudio.Component.Windows11SDK.22621') },
@{ Name = 'Git 2.48.0-rc1';
Url = "${{github.workspace}}/Git-2.48.0-rc2-arm64.exe";
Hash = '712739bb49832d571732e3e74b111d7cb4a63cd622ef3e87d01efe35046d9a4f';
Expand All @@ -69,6 +69,7 @@ jobs:
Hash = 'https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe.sha256';
Args = @('--default-host', 'aarch64-pc-windows-msvc', '--default-toolchain', 'nightly', '-y') }
)
$deps | ForEach-Object {
$dep = $_
if ($dep.Url -match "^https?://") {
Expand Down

0 comments on commit ce58b29

Please sign in to comment.