From d2f3bc8febf0d5ac960409215c2b5f75ad6641a1 Mon Sep 17 00:00:00 2001 From: MDLeom <43627182+curbengh@users.noreply.github.com> Date: Tue, 11 Jun 2024 12:26:45 +0000 Subject: [PATCH] ci: windows bash --- .github/workflows/tester.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index 7ea8b77..708884d 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -27,9 +27,11 @@ jobs: - name: Determine zstd binary version shell: bash run: | - echo "$RUNNER_OS" + if [ "$RUNNER_OS" = "Windows" ]; then + echo "PLATFORM=win32-x64-msvc" >> "$GITHUB_ENV" + fi - name: Install zstd binary - run: npm install "@mongodb-js/zstd-win32-x64-msvc" + run: npm install "@mongodb-js/zstd-$PLATFORM" - name: Test run: npm run test env: