Skip to content

fix(build): fix create-dmg #208

fix(build): fix create-dmg

fix(build): fix create-dmg #208

Workflow file for this run

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