mirror of https://github.com/curbengh/hexo-yam
check $PLATFORM value
This commit is contained in:
parent
0f001c272e
commit
ee80f8224b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue