mirror of
https://github.com/LegacyUpdate/LegacyUpdate.git
synced 2025-01-22 14:12:07 -05:00
Use another approach for determining if Visual Studio installed.
The version of Bash included with Ubuntu 22.04 has a bug with redirections that I forgot about. What was there in the last commit was syntatically correct and works fine locally, but not up in CI, so let's try another approach.
This commit is contained in:
parent
71447018c5
commit
53d49c550e
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -39,9 +39,7 @@ jobs:
|
|||
--quiet --norestart --noUpdateInstaller \
|
||||
--installPath "$vs" \
|
||||
--config .vsconfig
|
||||
RESULT=$?
|
||||
echo "vs_installer.exe exit code: $RESULT"
|
||||
if [ $RESULT != 0]; then
|
||||
if [ $? == 0 ]; then
|
||||
cd /tmp
|
||||
curl -fsSL https://aka.ms/vscollect.exe -o vscollect.exe
|
||||
chmod +x vscollect.exe
|
||||
|
@ -49,6 +47,8 @@ jobs:
|
|||
unzip vscollect.zip
|
||||
cat *.log
|
||||
exit 1
|
||||
else
|
||||
echo "Installation of Visual Studio was successful."
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue