From d9922f0b61057244d23b0ef9d203e9b92d7455cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=90=E5=B9=B3?= <383810086@qq.com> Date: Sun, 22 May 2022 15:19:58 +0800 Subject: [PATCH] Create pack.yml --- .github/workflows/pack.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pack.yml diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml new file mode 100644 index 0000000..42b0029 --- /dev/null +++ b/.github/workflows/pack.yml @@ -0,0 +1,23 @@ +name: Build Pack +on: + push: + branches: + - master +jobs: + pack: + runs-on: ${{matrix.os}} + strategy: + matrix: + os: [ windows-latest, macOS-latest] + steps: + - uses: actions/checkout@v2 + - name: Install and Pack + run: | + npm install + npm run pack + - name: Upload file + uses: actions/upload-artifact@v2 + with: + name: packs + path: | + *