mirror of https://github.com/curbengh/hexo-yam
ci: windows bash
This commit is contained in:
parent
ea2de32cd1
commit
d2f3bc8feb
|
@ -27,9 +27,11 @@ jobs:
|
||||||
- name: Determine zstd binary version
|
- name: Determine zstd binary version
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "$RUNNER_OS"
|
if [ "$RUNNER_OS" = "Windows" ]; then
|
||||||
|
echo "PLATFORM=win32-x64-msvc" >> "$GITHUB_ENV"
|
||||||
|
fi
|
||||||
- name: Install zstd binary
|
- name: Install zstd binary
|
||||||
run: npm install "@mongodb-js/zstd-win32-x64-msvc"
|
run: npm install "@mongodb-js/zstd-$PLATFORM"
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm run test
|
run: npm run test
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue