File tree Expand file tree Collapse file tree 1 file changed +24
-25
lines changed Expand file tree Collapse file tree 1 file changed +24
-25
lines changed Original file line number Diff line number Diff line change 88jobs :
99
1010 build :
11- runs-on : ubuntu-latest
12- permissions :
13- contents : read
14-
15- steps :
16- - name : Checkout Code
17- uses : actions/checkout@v3
18-
19- - name : Setup JDK 17
20- uses : actions/setup-java@v3
21- with :
22- java-version : " 17"
23- distribution : temurin
24-
25- - name : Move files from Spring root folder to working directory
26- run : mv $GITHUB_WORKSPACE/Tithe-Spring/* $GITHUB_WORKSPACE/
27-
28- - name : Make gradlew executable
29- run : chmod +x ./gradlew
30-
31- - name : Build with Gradle
32- uses : gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
33- with :
34- arguments : build
11+ uses : ./.github/workflows/build.yml
3512
3613 release :
3714 runs-on : ubuntu-latest
6239 with :
6340 arguments : build
6441
65- - name : Release Asset
42+ - name : Release Spring Asset as jar
6643 uses : softprops/action-gh-release@v1
6744 with :
6845 files : ./build/libs/*.jar
46+
47+ - name : Setup Node.js 16
48+ uses : actions/setup-node@v3
49+ with :
50+ node-version : " 16"
51+
52+ - name : Move files from Vue root folder to working directory
53+ run : mv $GITHUB_WORKSPACE/Tithe-Vue/* $GITHUB_WORKSPACE/
54+
55+ - name : Install dependencies
56+ run : npm install
57+
58+ - name : Build with Vite
59+ run : npm run build
60+
61+ - name : Zip the generated dist directory
62+ run : zip -r tithe-vue.zip dist
63+
64+ - name : Release Vue Asset as zip
65+ uses : softprops/action-gh-release@v1
66+ with :
67+ files : ./tithe-vue.zip
You can’t perform that action at this time.
0 commit comments