diff --git a/.github/workflows/upstream pretest.yaml b/.github/workflows/upstream pretest.yaml index b4e02cdf..4a0a6ffb 100644 --- a/.github/workflows/upstream pretest.yaml +++ b/.github/workflows/upstream pretest.yaml @@ -24,17 +24,18 @@ jobs: # Get-Service ssh-agent # Get-Service ssh-agent | Select StartType - # Get-Service -Name ssh-agent | Set-Service -StartupType Manual - # Start-Service -Name ssh-agent - where.exe start-ssh-agent - start-ssh-agent - # git config --global core.sshCommand "'C:\\Windows\\System32\\OpenSSH\\ssh.exe'" Write-Host "ssh:" where.exe ssh Write-Host "ssh-add:" where.exe ssh-add Write-Host '-----' + Get-Service -Name ssh-agent | Set-Service -StartupType Manual + Start-Service -Name ssh-agent + git config --global core.sshCommand "'C:\\Windows\\System32\\OpenSSH\\ssh.exe'" + + # where.exe start-ssh-agent + # start-ssh-agent # Set Key File Variable: New-Variable -Name Key -Value "$env:UserProfile\.ssh\id_rsa" @@ -60,9 +61,10 @@ jobs: # Verify: Icacls $Key - Write-Host 'Adding key:' + Write-Host 'Adding key $Key:' ssh-add $Key Write-Host '-----' + # Remove Variable: Remove-Variable -Name Key