File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,13 +64,26 @@ jobs:
6464 cache : " yarn"
6565 cache-dependency-path : chat2db-client/yarn.lock
6666
67+
6768 - name : Install Java and Maven
6869 uses : actions/setup-java@main
6970 with :
7071 java-version : " 17"
7172 distribution : " temurin"
7273 cache : " maven"
7374
75+ - name : Cache Yarn dependencies
76+ uses : actions/cache@v3
77+ with :
78+ path : |
79+ .yarn/cache
80+ .yarn/unplugged
81+ .yarn/build-state.yml
82+ .yarn/install-state.gz
83+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
84+ restore-keys : |
85+ ${{ runner.os }}-yarn-
86+
7487 - name : Build and Copy Artifacts
7588 run : |
7689 cd chat2db-client
8194 mvn clean package -B '-Dmaven.test.skip=true' -f ../chat2db-server/pom.xml
8295 mkdir -p versions/99.0.${{ github.run_id }}/static
8396 echo "99.0.${{ github.run_id }}" > versions/version
84- cp -r versions/version ./versions/
8597 cp chat2db-server/chat2db-server-start/target/chat2db-server-start.jar chat2db-client/versions/99.0.${{ github.run_id }}/static/
8698
8799 - name : Prepare Build Electron
You can’t perform that action at this time.
0 commit comments