Skip to content

Commit 361e1a1

Browse files
committed
chore: Optimize action
1 parent e6389c7 commit 361e1a1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ jobs:
9292
yarn run build:web:prod --app_version=99.0.${{ github.run_id }} --app_port=10822
9393
cp -r dist ../chat2db-server/chat2db-server-start/src/main/resources/static/front
9494
cp -r dist/index.html ../chat2db-server/chat2db-server-start/src/main/resources/thymeleaf/
95+
9596
- name: Build BE Static
9697
run: |
9798
mvn clean package -B '-Dmaven.test.skip=true' -f chat2db-server/pom.xml
98-
cd chat2db-client
9999
mkdir -p chat2db-client/versions/99.0.${{ github.run_id }}/static
100-
echo -n "99.0.${{ github.run_id }}" > chat2db-client/versions/99.0.${{ github.run_id }}/version
101-
cd ..
100+
echo -n 99.0.${{ github.run_id }} > chat2db-client/version
101+
cp -r chat2db-client/version chat2db-client/versions/
102102
cp chat2db-server/chat2db-server-start/target/chat2db-server-start.jar chat2db-client/versions/99.0.${{ github.run_id }}/static/
103103
104104
- name: Prepare Build Electron

0 commit comments

Comments
 (0)