From 46af08f50f543d1ddca6e545b726ec2b31a3bc88 Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Tue, 25 Jan 2022 18:19:47 -0500 Subject: [PATCH] Install FDB synchronously We were seeing CI failures where the FDB installation would not be completed before we tried to invoke `fdbcli --version` --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da00984..8b5b64c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,8 +99,8 @@ jobs: run: | Set-PSDebug -Trace 1 Invoke-WebRequest -Uri https://github.com/apple/foundationdb/releases/download/$env:FDB_VERSION/foundationdb-$env:FDB_VERSION-x64.msi -OutFile foundationdb-$env:FDB_VERSION-x64.msi - msiexec /i foundationdb-$env:FDB_VERSION-x64.msi /passive - echo "c:/Program Files/foundationdb/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + Start-Process -Wait -FilePath msiexec -ArgumentList /i, foundationdb-$env:FDB_VERSION-x64.msi, /passive + echo "C:\Program Files\foundationdb\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - name: Install FoundationDB (macOS) if: ${{ matrix.os == 'macos-latest' }} run: |