Skip to content

Commit

Permalink
check maven version before build (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivarm authored Jun 16, 2023
1 parent 7620d5b commit c34e44e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
key: maven-repo-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
- name: Install pnpm
run: npm install -g pnpm
- name: Maven Version
run: mvn --version
- name: Build with Maven
run: mvn -B formatter:validate install --file pom.xml
build-windows:
Expand Down Expand Up @@ -77,5 +79,7 @@ jobs:
key: maven-repo-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
- name: Install pnpm
run: npm install -g pnpm@~8.1.0
- name: Maven Version
run: mvn --version
- name: Build with Maven
run: mvn -B install --file pom.xml

0 comments on commit c34e44e

Please sign in to comment.