Skip to content

Commit

Permalink
adjust workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rieckpil committed Jan 29, 2024
1 parent 170f027 commit 277cd11
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/sampleJavaMavenProject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
distribution: 'adopt'
java-package: jdk
java-version: ${{ matrix.java }}

- name: Compile the Project
working-directory: github-actions-java-maven
run: ./mvnw -B compile
run: ./mvnw -f github-actions-java-maven/pom.xml -B compile

build:
runs-on: ubuntu-latest
Expand All @@ -40,7 +40,8 @@ jobs:

- name: Build and test project
working-directory: github-actions-java-maven
run: ./mvnw -B verify
run: ./mvnw -f github-actions-java-maven/pom.xml -B verify

- name: Upload Maven build artifact
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 277cd11

Please sign in to comment.