Skip to content

Commit 1696ebc

Browse files
Changed the maven path.
1 parent 3b98eb0 commit 1696ebc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci-cd.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ jobs:
2424
java-version: '17'
2525
distribution: 'oracle'
2626

27-
- name: Build with Maven # Step to build the project with Maven
28-
run: |
29-
mvn clean install
30-
env:
31-
JAVA_HOME: ${{ steps.setup-java.outputs.java-home }}
27+
- name: Build with Maven
28+
working-directory: ./subdirectory-name # Replace with the folder containing your pom.xml
29+
run: |
30+
mvn clean install
31+
env:
32+
JAVA_HOME: ${{ steps.setup-java.outputs.java-home }}
3233

3334
- name: build and push the docker image to dockerhub
3435
run: |

0 commit comments

Comments
 (0)