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 1c7a308 commit f01456e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@ jobs:
$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
- name: Modifying the registry
shell: powershell
run: |-
& 'C:\Program Files\PowerShell\7\pwsh.exe'
$PSVersionTable.PSVersion
# - name: Modifying the registry
# shell: powershell
# run: |-
# $PSVersionTable.PSVersion
- uses: actions/checkout@v3
with:
submodules: recursive
Expand Down

0 comments on commit f01456e

Please sign in to comment.