File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1010env :
1111 AUTOHOTKEY_VERSION : 2.0.19
1212 WT_VERSION : 1.22.11141.0
13+ WIN32_OPENSSH_VERSION : v9.8.3.0p2-Preview
1314
1415jobs :
1516 ui-tests :
7677 "$WINDIR/system32/tar.exe" -C "$RUNNER_TEMP/ahk" -xf "$RUNNER_TEMP/ahk.zip" &&
7778 cygpath -aw "$RUNNER_TEMP/ahk" >>$GITHUB_PATH
7879 - uses : actions/setup-node@v4 # the hook uses node for the background process
80+ - uses : actions/cache/restore@v4
81+ id : restore-win32-openssh
82+ with :
83+ key : win32-openssh-${{ env.WIN32_OPENSSH_VERSION }}
84+ path : ${{ runner.temp }}/win32-openssh.zip
85+ - name : Download Win32-OpenSSH
86+ if : steps.restore-win32-openssh.outputs.cache-hit != 'true'
87+ shell : bash
88+ run : |
89+ curl -L -o "$RUNNER_TEMP/win32-openssh.zip" \
90+ https://github.com/PowerShell/Win32-OpenSSH/releases//download/v$WIN32_OPENSSH_VERSION/OpenSSH-Win64.zip
91+ - uses : actions/cache/save@v4
92+ if : steps.restore-win32-openssh.outputs.cache-hit != 'true'
93+ with :
94+ key : win32-openssh-${{ env.AUTOHOTKEY_VERSION }}
95+ path : ${{ runner.temp }}/win32-openssh.zip
96+ - name : Unpack Win32-OpenSSH
97+ shell : bash
98+ run : |
99+ mkdir -p "$RUNNER_TEMP/win32-openssh" &&
100+ "$WINDIR/system32/tar.exe" -C "$RUNNER_TEMP/win32-openssh" -xf "$RUNNER_TEMP/win32-openssh.zip" &&
101+ echo "OPENSSH_FOR_WINDOWS_DIRECTORY=$(cygpath -aw "$RUNNER_TEMP/win32-openssh)" >>$GITHUB_ENV
79102
80103 - uses : actions/checkout@v4
81104 with :
You can’t perform that action at this time.
0 commit comments