From 2b916aba518d98d462e6b756b00c4e1d7aa448a5 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Fri, 16 Aug 2024 22:33:55 +0200 Subject: [PATCH] +21 --- .github/workflows/upstream pretest.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/upstream pretest.yaml b/.github/workflows/upstream pretest.yaml index 4a0a6ffb..4e2df246 100644 --- a/.github/workflows/upstream pretest.yaml +++ b/.github/workflows/upstream pretest.yaml @@ -25,6 +25,9 @@ jobs: # Get-Service ssh-agent # Get-Service ssh-agent | Select StartType + where.exe start-ssh-agent + start-ssh-agent + Write-Host "ssh:" where.exe ssh Write-Host "ssh-add:" @@ -34,9 +37,6 @@ jobs: 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" @@ -87,7 +87,7 @@ jobs: foreach ($subm_key in git config --file .gitmodules --name-only --get-regexp '^submodule\..+\.url$') { $subm_url = git config --file .gitmodules --get $subm_key - # Write-Host "URL: $subm_url" + Write-Host "URL: $subm_url" $pr_nums = @() foreach ($ref_l in git ls-remote $subm_url 'refs/pull/*/merge') { @@ -96,7 +96,7 @@ jobs: } $pr_num = $Matches[1] - # Write-Host "- Found PR $pr_num" + Write-Host "- Found PR $pr_num" $pr_nums += $pr_num $exec_list += "$pr_num;$subm_url" @@ -116,6 +116,7 @@ jobs: throw "Unexpected format: $ref_l" } $pr_num = $Matches[1] + Write-Host "- Found pretest branch for PR $pr_num" if ($pr_nums -contains $pr_num) { continue } Write-Host "pretest branch for PR $pr_num is no longer needed"