Fix macos 10.13 compatible problem (#1040)

This commit is contained in:
LongYinan 2020-09-07 11:45:11 +08:00 committed by GitHub
parent 57112fc42b
commit 791ba2f5d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,9 +55,17 @@ jobs:
run: npm i
- name: Build
if: matrix.os != 'macos-latest'
shell: bash
run: npm run build
- name: Build
if: matrix.os == 'macos-latest'
shell: bash
run: npm run build
env:
MACOSX_DEPLOYMENT_TARGET: '10.13'
- name: Upload artifact
uses: actions/upload-artifact@v2
with: