File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 2121 prefix : liwan
2222 token : ${{ secrets.GITHUB_TOKEN }}
2323
24+ build-web :
25+ runs-on : ubuntu-latest
26+ steps :
27+ - uses : actions/checkout@v4
28+ - uses : oven-sh/setup-bun@v2
29+ with :
30+ bun-version : latest
31+ - name : Build web project
32+ run : |
33+ bun install
34+ bun run build
35+ working-directory : ./web
36+ - name : Upload web assets
37+ uses : actions/upload-artifact@v4
38+ with :
39+ name : web-dist
40+ path : ./web/dist
41+
2442 upload-assets :
25- needs : create-release
43+ needs : [ create-release, build-web]
2644 strategy :
2745 matrix :
2846 include :
3856 runs-on : ${{ matrix.os }}
3957 steps :
4058 - uses : actions/checkout@v4
59+ - uses : actions/download-artifact@v4
60+ with :
61+ name : web-dist
62+ path : ./web/dist
4163 - uses : taiki-e/upload-rust-binary-action@v1
4264 with :
4365 bin : liwan
You can’t perform that action at this time.
0 commit comments