An infrastructure example in Windows for CI
- Open PowerShell in this repository root as Administrator
- Download and Place
Git-2.x.x-64-bit.exe- e.g.
>Invoke-WebRequest https://github.com/git-for-windows/git/releases/download/v2.36.1.windows.1/Git-2.36.1-64-bit.exe -OutFile Git-2.36.1-64-bit.exe
- e.g.
- Run
>Set-ExecutionPolicy RemoteSigned -Scope Process - Run
>.\install-git.ps1
!WARNING! This command will change PATH in the System Variable
- Run
>.\set-git-path.ps1
- Open PowerShell in this repository root as Administrator
- Download and Place
PowerShell-7.x.x-win-x64.msi- e.g.
>Invoke-WebRequest https://github.com/PowerShell/PowerShell/releases/download/v7.2.3/PowerShell-7.2.3-win-x64.msi -OutFile PowerShell-7.2.3-win-x64.msi
- e.g.
- Run
>Set-ExecutionPolicy RemoteSigned -Scope Process - Run
>.\install-powershell.ps1
!WARNING! This command will change PATH in the System Variable
- Run
>.\set-powershell-path.ps1
See LICENSE