Fix Powershell issues after the update

This commit is contained in:
Kirill Bobyrev 2020-10-07 11:34:58 +02:00
parent 7f25d84caa
commit 180c5d128c
No known key found for this signature in database
GPG Key ID: 2307C055C8384FA0

View File

@ -86,7 +86,9 @@ jobs:
run: | run: |
cmd /c "`"${{ matrix.config.vcvars }}`">NUL && set" | Foreach-Object { cmd /c "`"${{ matrix.config.vcvars }}`">NUL && set" | Foreach-Object {
$name, $value = $_ -split '=', 2 $name, $value = $_ -split '=', 2
if ($value) { echo "$($name)=$($value)" >> $GITHUB_ENV } if ($value) {
echo "$($name)=$($value)" >> $env:GITHUB_ENV
}
} }
- name: Fetch target commit - name: Fetch target commit
uses: actions/download-artifact@v1 uses: actions/download-artifact@v1