mirror of
https://github.com/mizarzh/mathlive-in-editor-mode.git
synced 2026-07-22 10:10:33 +00:00
update relsease.yml
This commit is contained in:
parent
eb3f278eea
commit
b7543f0a14
1 changed files with 14 additions and 5 deletions
|
|
@ -19,13 +19,22 @@ jobs:
|
|||
with:
|
||||
node-version: "20.x"
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 9
|
||||
run_install: false
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
mkdir ${{ env.PLUGIN_NAME }}
|
||||
cp main.js manifest.json styles.css ${{ env.PLUGIN_NAME }}
|
||||
zip -r ${{ env.PLUGIN_NAME }}-${{ github.ref_name }}.zip ${{ env.PLUGIN_NAME }}
|
||||
pnpm run build
|
||||
mkdir ${{ env.PLUGIN_NAME }}
|
||||
cp main.js manifest.json styles.css ${{ env.PLUGIN_NAME }}
|
||||
zip -r ${{ env.PLUGIN_NAME }}-${{ github.ref_name }}.zip ${{ env.PLUGIN_NAME }}
|
||||
|
||||
- name: Release with Notes
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
Loading…
Reference in a new issue