fix(shellwin): fix rc #202
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Plugin | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
# cache: yarn | |
- name: Install Build Package | |
run: | | |
corepack enable | |
yarn install --immutable | |
shell: bash | |
- name: Build Package | |
run: | | |
yarn workspace koishi-plugin-desktop build | |
yarn workspace koishi-plugin-desktop pack --filename koishi-plugin-desktop.tgz | |
shell: bash | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: koishi-plugin-desktop-${{ github.sha }} | |
path: packages/plugin/koishi-plugin-desktop.tgz |