Skip to content

Commit

Permalink
chore(ci): fix the building flow of java engine image (#838)
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmedal authored Oct 18, 2024
1 parent d9f5ebf commit 7bafa02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-dev-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
- name: Prepare
id: prepare
run: |
cp ./wren-server/target/wren-server-${WREN_VERSION}-executable.jar ./docker
WREN_VERSION=$(./mvnw --quiet help:evaluate -Dexpression=project.version -DforceStdout)
cp ./wren-server/target/wren-server-${WREN_VERSION}-executable.jar ./docker
echo "WREN_VERSION=$WREN_VERSION" >> "$GITHUB_OUTPUT"
- name: Build and push
uses: docker/build-push-action@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
- name: Prepare
id: prepare
run: |
cp ./wren-server/target/wren-server-${WREN_VERSION}-executable.jar ./docker
WREN_VERSION=$(./mvnw --quiet help:evaluate -Dexpression=project.version -DforceStdout)
cp ./wren-server/target/wren-server-${WREN_VERSION}-executable.jar ./docker
echo "WREN_VERSION=$WREN_VERSION" >> "$GITHUB_OUTPUT"
- name: Build and push
uses: docker/build-push-action@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ jobs:
- name: Prepare
id: prepare
run: |
cp ./wren-server/target/wren-server-${WREN_VERSION}-executable.jar ./docker
WREN_VERSION=$(./mvnw --quiet help:evaluate -Dexpression=project.version -DforceStdout)
cp ./wren-server/target/wren-server-${WREN_VERSION}-executable.jar ./docker
echo "WREN_VERSION=$WREN_VERSION" >> "$GITHUB_OUTPUT"
- name: Build and push
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 7bafa02

Please sign in to comment.