We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b98eb0 commit 1696ebcCopy full SHA for 1696ebc
.github/workflows/ci-cd.yml
@@ -24,11 +24,12 @@ jobs:
24
java-version: '17'
25
distribution: 'oracle'
26
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 }}
+ - name: Build with Maven
+ working-directory: ./subdirectory-name # Replace with the folder containing your pom.xml
+ run: |
+ mvn clean install
+ env:
32
+ JAVA_HOME: ${{ steps.setup-java.outputs.java-home }}
33
34
- name: build and push the docker image to dockerhub
35
run: |
0 commit comments