🎨 Update CD script
This commit is contained in:
parent
6f849be379
commit
1a082ffb04
1 changed files with 4 additions and 1 deletions
5
.github/workflows/cd.yml
vendored
5
.github/workflows/cd.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue