Skip to content

Commit

Permalink
update: 打包prod环境
Browse files Browse the repository at this point in the history
  • Loading branch information
oddfar committed Jan 20, 2024
1 parent 3c0a8ad commit 468f265
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Build with Maven
working-directory: ./
run: mvn -B package --file pom.xml
run: mvn -B package -P prod --file pom.xml

- name: Login to GHCR
if: github.event_name != 'pull_request'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name: Build with Maven
working-directory: ./
run: mvn -B package --file pom.xml
run: mvn -B package -P prod --file pom.xml

# 设置 Maven pom 版本环境变量
- name: Set Release version env variable
Expand Down

0 comments on commit 468f265

Please sign in to comment.