check $PLATFORM value

This commit is contained in:
MDLeom 2024-06-11 12:30:29 +00:00
parent 0f001c272e
commit ee80f8224b
No known key found for this signature in database
GPG Key ID: 06C236E63CBC68AA
1 changed files with 4 additions and 4 deletions

View File

@ -27,11 +27,11 @@ jobs:
- name: Determine zstd binary version
shell: bash
run: |
if [ "$RUNNER_OS" = "Windows" ]; then
echo "PLATFORM=win32-x64-msvc" >> "$GITHUB_ENV"
fi
- name: Install zstd binary
run: npm install @mongodb-js/zstd-$PLATFORM
run: |
echo $PLATFORM
npm install @mongodb-js/zstd-$PLATFORM
- name: Test
run: npm run test
env: