Skip to content

Commit

Permalink
chore: use nushell in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Jan 10, 2025
1 parent 1f78323 commit b27d860
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,31 @@ jobs:
repository: 'microsoft/winget-cli'
latest: true
filename: 'Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle'
out-file-path: 'deps'
- if: matrix.os == 'windows-11-preview_aarch64'
uses: robinraju/release-downloader@v1
with:
repository: 'MrKristofere/WSA-with-GApps-Releases'
tag: 'wsap-2407.40000.4.0'
extract: true
filename: 'Deps.for.WSA.zip'
out-file-path: 'deps'

- if: matrix.os == 'windows-11-preview_aarch64'
uses: robinraju/release-downloader@v1
with:
repository: 'microsoft/microsoft-ui-xaml'
tag: 'v2.8.6'
filename: 'Microsoft.UI.Xaml.2.8.arm64.appx'
out-file-path: 'deps'
- name: "Install nushell"
if: matrix.os == 'windows-11-preview_aarch64'
shell: powershell
run: |
Invoke-WebRequest -Uri 'https://aka.ms/vs/16/release/vc_redist.arm64.exe' -OutFile "${{github.workspace}}/vc_redist.arm64.exe" -UseBasicParsing
Start-Process -FilePath "${{github.workspace}}/vc_redist.arm64.exe" -ArgumentList "/install", "/quiet", "/norestart" -Wait
Invoke-WebRequest -Uri 'https://archive.org/download/vclibs-appxs/Microsoft.VCLibs.APPXs.zip/Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_arm64__8wekyb3d8bbwe.Appx' -OutFile "${{github.workspace}}/Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_arm64__8wekyb3d8bbwe.Appx" -UseBasicParsing
Add-AppxPackage Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_arm64__8wekyb3d8bbwe.Appx
Add-AppxPackage Microsoft.UI.Xaml.2.8.arm64.appx
Add-AppxPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Add-AppxPackage deps/ARM64/Microsoft.VCLibs.140.00.UWPDesktop_14.0.33728.0_arm64__8wekyb3d8bbwe.Appx
Add-AppxPackage deps/ARM64/Microsoft.VCLibs.140.00_14.0.33519.0_arm64__8wekyb3d8bbwe.Appx
Add-AppxPackage deps/Microsoft.UI.Xaml.2.8.arm64.appx
Add-AppxPackage deps/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Repair-WinGetPackageManager -IncludePrerelease
winget install nushell --accept-package-agreements --accept-source-agreements
Expand Down

0 comments on commit b27d860

Please sign in to comment.