From 1adac896b25df60264f65bf026d411603ec5493c Mon Sep 17 00:00:00 2001 From: Beats0 <2047155291@qq.com> Date: Tue, 26 Mar 2024 15:13:06 +0800 Subject: [PATCH] update config --- .github/workflows/build.yml | 42 ++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1a31a2..81913fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,26 +6,26 @@ jobs: buildwin: runs-on: windows-latest steps: - - name: Checkout git repo - uses: actions/checkout@v2 - - - name: Install Node and NPM - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: npm - - - name: Install and build - run: | - npm install - npm run postinstall - npm run build - - - name: Upload File - uses: actions/upload-artifact@v2 - with: - name: windows - path: release/build/*exe + - name: Checkout git repo + uses: actions/checkout@v2 + + - name: Install Node and NPM + uses: actions/setup-node@v3 + with: + node-version: 18 + cache: npm + + - name: Install and build + run: | + npm install + npm run postinstall + npm run package + + - name: Upload File + uses: actions/upload-artifact@v2 + with: + name: windows + path: release/build/*exe buildmac: runs-on: macos-latest @@ -43,7 +43,7 @@ jobs: run: | npm install npm run postinstall - npm run build + npm run package - name: Upload File uses: actions/upload-artifact@v2