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 f076679 commit 7f7e42f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ jobs:
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1
git config --system core.longpaths true
$PSVersionTable.PSVersion
Invoke-WebRequest -Uri 'https://github.com/PowerShell/PowerShell/releases/download/v7.3.11/PowerShell-7.3.11-win-x64.msi' -OutFile '.\PowerShell-7.3.11-win-x64.msi'
msiexec.exe /package PowerShell-7.3.11-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
& 'C:\Program Files\PowerShell\7\pwsh.exe'
$PSVersionTable.PSVersion
# - name: Modifying the registry
# shell: powershell
Expand All @@ -56,7 +53,7 @@ jobs:
go-version: 'stable'

- name: Configure Environment
shell: powershell
shell: pwsh
run: |-
w32tm /resync /nowait /rediscover
echo "--------------------Install Microsoft.UI.Xaml-------------------"
Expand Down Expand Up @@ -105,7 +102,7 @@ jobs:
winget install --source winget --id Kitware.CMake -e
- name: Building Windows Package
shell: powershell
shell: pwsh
run: |-
#Get-ChildItem -Path "C:\Program Files\Microsoft Visual Studio\" -Recurse
#Get-ChildItem -Path "C:\Program Files (x86)\Windows Kits" -Recurse
Expand Down

0 comments on commit 7f7e42f

Please sign in to comment.