Skip to content

Commit 14819b5

Browse files
committed
测试自动构建
1 parent d8cb223 commit 14819b5

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/release.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release App
2+
on:
3+
workflow_dispatch:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v2
13+
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v2
16+
with:
17+
node-version: "22"
18+
19+
- name: Install dependencies
20+
run: yarn install
21+
22+
- name: Build the app
23+
run: yarn build
24+
25+
- name: Upload release artifact
26+
uses: actions/upload-artifact@v4
27+
with:
28+
name: Hime Display
29+
path: |
30+
dist/*.exe
31+
dist/*.dmg

0 commit comments

Comments
 (0)