修改自动打包配置
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -37,10 +37,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20.x' # Node.js版本 20系列的最新稳定版
|
node-version: '20.x' # Node.js版本 20系列的最新稳定版
|
||||||
|
|
||||||
- name: Compile backend
|
- name: clean maven cache
|
||||||
|
run: rm -rf ~/.m2/repository/io/github/git-commit-id
|
||||||
|
|
||||||
|
- name: Build Backend
|
||||||
run: |
|
run: |
|
||||||
mvn package
|
mvn clean package
|
||||||
mvn package -P war
|
|
||||||
|
|
||||||
- name: Compile frontend
|
- name: Compile frontend
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -450,7 +450,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.github.git-commit-id</groupId>
|
<groupId>io.github.git-commit-id</groupId>
|
||||||
<artifactId>git-commit-id-maven-plugin</artifactId>
|
<artifactId>git-commit-id-maven-plugin</artifactId>
|
||||||
<version>9.0.1</version>
|
<version>8.0.0</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>get-the-git-infos</id>
|
<id>get-the-git-infos</id>
|
||||||
|
|||||||
Reference in New Issue
Block a user