Skip to content

Commit 304ce47

Browse files
committed
add build-linux
1 parent dffa485 commit 304ce47

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/build-linux.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Build-Windows
2+
3+
4+
on:
5+
push:
6+
branches: [master]
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
jobs:
11+
# Build job
12+
build:
13+
runs-on: windows-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0 # Not needed if lastUpdated is not enabled
19+
- name: Setup Node
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 20
23+
cache: npm # or pnpm / yarn
24+
- name: Install dependencies
25+
run: npm install
26+
- name: Build with VitePress
27+
run: npm run docs:build
28+
- name: Build docan
29+
run: npm run docan
30+
- name: Build dolin
31+
run: npm run dolin
32+
- name: Build worker
33+
run: npm run worker
34+
- name: Build api
35+
run: npm run api
36+
- name: Build cli
37+
run: npm run cli:build:win
38+
- name: Build APP
39+
run: npm run build:win

0 commit comments

Comments
 (0)