From f12107ebd967cb10ff47f7ee018bbe498b990957 Mon Sep 17 00:00:00 2001 From: Hyperzlib Date: Fri, 2 Aug 2024 18:25:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9E=84=E5=BB=BAnodejs=20re?= =?UTF-8?q?lease=E7=9A=84action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/node.js.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 95014ce..b300e55 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -45,6 +45,16 @@ jobs: run: npm ci - name: Migrate files run: npm run build:migrate + - name: Build nodejs release + run: npm run build:pkg:clean && npm run build:pkg:assets && build:pkg:nodejs + - name: Move Files to artifact dir + run: mkdir -p artifacts && mv build artifacts/coyote-streaming-widget + - name: Archive nodejs artifact + uses: actions/upload-artifact@v4 + with: + name: coyote-streaming-widget-nodejs-server + path: | + artifacts - name: Build Windows executable run: npm run build:pkg:clean && npm run build:pkg:assets && npm run build:pkg:win - name: Move Files to artifact dir