🎨 Update CD script

This commit is contained in:
Daniel 2024-04-21 00:42:38 +08:00
parent 6f849be379
commit 1a082ffb04
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -7,7 +7,6 @@ on:
workflow_dispatch:
jobs:
create_release:
name: Create Release
runs-on: ubuntu-latest
@ -158,6 +157,8 @@ jobs:
- name: Building UI
run: pnpm run build
working-directory: ${{ github.workspace }}/go/src/github.com/siyuan-note/siyuan/app
env:
COREPACK_ENABLE_STRICT: 0
- name: Remove Build Directory
uses: JesseTG/rm@v1.0.2
@ -202,6 +203,8 @@ jobs:
- name: Building Electron
run: pnpm run ${{ matrix.config.electron_args }}
working-directory: ${{ github.workspace }}/go/src/github.com/siyuan-note/siyuan/app
env:
COREPACK_ENABLE_STRICT: 0
- name: Upload Release
uses: actions/upload-release-asset@v1