mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
👷 Update building electron app task name
This commit is contained in:
parent
00e883d393
commit
bea1787dff
4 changed files with 5 additions and 5 deletions
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
|
|
@ -224,7 +224,7 @@ jobs:
|
||||||
GOPATH: ${{ github.workspace }}/go
|
GOPATH: ${{ github.workspace }}/go
|
||||||
GOARCH: ${{ matrix.config.goarch }}
|
GOARCH: ${{ matrix.config.goarch }}
|
||||||
|
|
||||||
- name: Building Electron
|
- name: Building Electron App
|
||||||
run: pnpm run ${{ matrix.config.electron_args }}
|
run: pnpm run ${{ matrix.config.electron_args }}
|
||||||
working-directory: ${{ github.workspace }}/go/src/github.com/${{ env.repo_owner }}/${{ env.repo_name }}/app
|
working-directory: ${{ github.workspace }}/go/src/github.com/${{ env.repo_owner }}/${{ env.repo_name }}/app
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,9 +27,9 @@ export GOARCH=arm64
|
||||||
go build --tags fts5 -v -o "../app/kernel-darwin-arm64/SiYuan-Kernel" -ldflags "-s -w" .
|
go build --tags fts5 -v -o "../app/kernel-darwin-arm64/SiYuan-Kernel" -ldflags "-s -w" .
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
echo 'Building Electron'
|
echo 'Building Electron App amd64'
|
||||||
cd app
|
cd app
|
||||||
pnpm run dist-darwin
|
pnpm run dist-darwin
|
||||||
echo 'Building Electron arm64'
|
echo 'Building Electron App arm64'
|
||||||
pnpm run dist-darwin-arm64
|
pnpm run dist-darwin-arm64
|
||||||
cd ..
|
cd ..
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ export GOARCH=amd64
|
||||||
go build --tags fts5 -v -o "../app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w" .
|
go build --tags fts5 -v -o "../app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w" .
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
echo 'Building Electron'
|
echo 'Building Electron App'
|
||||||
cd app
|
cd app
|
||||||
pnpm run dist-linux
|
pnpm run dist-linux
|
||||||
cd ..
|
cd ..
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ if errorlevel 1 (
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
echo 'Building Electron'
|
echo 'Building Electron App'
|
||||||
cd app
|
cd app
|
||||||
call pnpm run dist
|
call pnpm run dist
|
||||||
if errorlevel 1 (
|
if errorlevel 1 (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue