File tree Expand file tree Collapse file tree 2 files changed +6
-17
lines changed Expand file tree Collapse file tree 2 files changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -19,28 +19,14 @@ jobs:
1919 - name : Install packages
2020 run : |
2121 npm install
22- npm install -g @lcui/cli@beta
23- - name : Restore xmake packages
24- uses : actions/cache@v4
25- with :
26- path : ~/.xmake/.cache/packages
27- key : ${{ runner.os }}-xmake-packages
22+ npm install -g @lcui/cli
2823 - name : Build
2924 run : |
3025 xmake config -y
3126 lcui build
3227 - name : Package
33- run : |
34- xmake install -o artifact/build
35- mkdir artifact/package
36- cp -r dist artifact/package/lcui-quick-start
37- cp artifact/build/bin/* artifact/package/lcui-quick-start
28+ run : xmake pack
3829 - uses : actions/upload-artifact@master
3930 with :
4031 name : package (${{ runner.os }})
41- path : artifact/package
42- - name : Cache xmake packages
43- uses : actions/cache@v4
44- with :
45- path : ~/.xmake/.cache/packages
46- key : ${{ runner.os }}-xmake-packages
32+ path : build/xpack/*/*
Original file line number Diff line number Diff line change @@ -49,3 +49,6 @@ xpack("app")
4949 set_formats (" nsis" , " zip" )
5050 set_basename (" lcui-quick-start-v$(version)" )
5151 add_installfiles (" dist/(**)" )
52+ add_targets (" app" )
53+ set_bindir (" ./" )
54+ set_iconfile (" logo.ico" )
You can’t perform that action at this time.
0 commit comments