Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
张传菲 committed Mar 15, 2024
1 parent 084622b commit 2767cf5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ jobs:
go-version: 'stable'

- name: Configure Environment
shell: pwsh
shell: powershell
run: |-
w32tm /resync /nowait /rediscover
echo "--------------------Install Microsoft.UI.Xaml-------------------"
$SourceUrl = "https://www.nuget.org/api/v2/package/Microsoft.UI.Xaml/2.7.3"
$DestinationFile = ".\microsoft.ui.xaml.2.7.3.zip" # 保存到当前目录并保持.nupkg扩展名
Expand All @@ -81,10 +80,7 @@ jobs:
Invoke-WebRequest -Uri 'https://github.com/microsoft/winget-cli/releases/download/v1.6.3421/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle' -OutFile '.\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle'
Add-AppxPackage .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Add-AppxProvisionedPackage -Online -Package .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -LicensePath .\65f132d72c1d44518a19d1a9c3de8e1f_License1.xml
echo "------------------upgrade poweshell ----------------"
winget install --source winget --id Microsoft.PowerShell -e
echo "------------View powershell version number-----------"
$PSVersionTable.PSVersion
echo "---------------Install VisualStudio.2022---------------------- "
Expand Down

0 comments on commit 2767cf5

Please sign in to comment.