chore: pkg build

This commit is contained in:
shanmite 2021-11-29 16:09:39 +08:00
parent c85ea6bc77
commit 8b57a85476

View File

@ -44,39 +44,39 @@ jobs:
with:
name: nlts-macos-x64
path: dist/nlts-macos-x64/
# pkg_arm64:
# runs-on: ubuntu-latest
# steps:
# - name: "Checkout codes"
# uses: actions/checkout@v2
# - name: "Use Node.js"
# uses: actions/setup-node@v1
# with:
# node-version: "16"
# - name: "Pkg this"
# run: |
# npm install
# npm run pkg_arm64
# - name: "Upload to artifact"
# uses: actions/upload-artifact@v2
# with:
# name: nlts-linux-arm64
# path: dist/
# pkg_armv7:
# runs-on: ubuntu-latest
# steps:
# - name: "Checkout codes"
# uses: actions/checkout@v2
# - name: "Use Node.js"
# uses: actions/setup-node@v1
# with:
# node-version: "16"
# - name: "Pkg this"
# run: |
# npm install
# npm run pkg_armv7
# - name: "Upload to artifact"
# uses: actions/upload-artifact@v2
# with:
# name: nlts-linux-armv7
# path: dist/
pkg_arm64:
runs-on: ubuntu-latest
steps:
- name: "Checkout codes"
uses: actions/checkout@v2
- name: "Use Node.js"
uses: actions/setup-node@v1
with:
node-version: "16"
- name: "Pkg this"
run: |
npm install
npm run pkg_arm64
- name: "Upload to artifact"
uses: actions/upload-artifact@v2
with:
name: nlts-linux-arm64
path: dist/
pkg_armv7:
runs-on: ubuntu-latest
steps:
- name: "Checkout codes"
uses: actions/checkout@v2
- name: "Use Node.js"
uses: actions/setup-node@v1
with:
node-version: "16"
- name: "Pkg this"
run: |
npm install
npm run pkg_armv7
- name: "Upload to artifact"
uses: actions/upload-artifact@v2
with:
name: nlts-linux-armv7
path: dist/