From 157d6278209f4977c2d51c7c6b2e2616ea8c12f1 Mon Sep 17 00:00:00 2001 From: oberrich Date: Fri, 10 Jan 2025 11:36:03 +0100 Subject: [PATCH] chore: improve ci powershell --- .github/workflows/rust.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b76b88a..8ce4577 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -55,16 +55,16 @@ jobs: $deps = @( @{ Name = 'Chocolatey'; Url = 'https://chocolatey.org/install.ps1'; Hash = $null; Action = { & .\install.ps1 }}, - # @{ Name = 'Visual Studio 2022 Build Tools (aarch64)'; Hash = $null; Url = $null; - # Action = { & choco install visualstudio2022buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621" -y --no-progress --silent }}, + @{ Name = 'Visual Studio 2022 Build Tools (aarch64)'; Hash = $null; Url = $null; + Action = { & choco install visualstudio2022buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621" -y --no-progress --silent }}, @{ Name = 'Git 2.48.0-rc1'; Url = '${{ github.workspace }}/Git-2.48.0-rc2-arm64.exe'; Hash = '712739bb49832d571732e3e74b111d7cb4a63cd622ef3e87d01efe35046d9a4f'; - Action = { & '${{ github.workspace }}\Git-2.48.0-rc2-arm64.exe' /VERYSILENT /GitAndUnixToolsOnPath /NoAutoCrlf }}, + Action = { & '${{ github.workspace }}\Git-2.48.0-rc2-arm64.exe' '/VERYSILENT' '/GitAndUnixToolsOnPath' '/NoAutoCrlf' }}, @{ Name = 'LLVM 19.1.5'; Url = '${{ github.workspace }}/LLVM-19.1.5-woa64.exe'; Hash = '63D479C19C3908F8C973331EDC9B576485EAB6AB0809F58C79DF5D209FDD8F96'; - Action = { & '${{ github.workspace }}\LLVM-19.1.5-woa64.exe' /S }}, + Action = { & '${{ github.workspace }}\LLVM-19.1.5-woa64.exe' '/S' }}, @{ Name = 'Rust (nightly, aarch64)'; Url = 'https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe'; Hash = 'https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe.sha256'; @@ -159,7 +159,7 @@ jobs: if: success() # Run only if the generate-bindgen job succeeds steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download generated files uses: actions/download-artifact@v4