Skip to content

Commit

Permalink
add mvn configs
Browse files Browse the repository at this point in the history
  • Loading branch information
moovida committed Nov 5, 2024
1 parent 9a54f75 commit ffa239c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,25 @@ jobs:
- name: Build and Deploy Snapshot
run: |
mvn deploy
mvn deploy -DskipTests=true -Dmaven.javadoc.skip=true
build-and-test:
runs-on: ubuntu-22.04
# build-and-test:
# runs-on: ubuntu-22.04

steps:
- name: Checkout code
uses: actions/checkout@v3
# steps:
# - name: Checkout code
# uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
cache: 'maven'
# - name: Setup Java
# uses: actions/setup-java@v3
# with:
# distribution: 'temurin'
# java-version: '11'
# cache: 'maven'

- name: Build and Test Branch
run: |
mvn --no-transfer-progress \
--batch-mode \
clean install \
-Dmaven.javadoc.skip=true
# - name: Build and Test Branch
# run: |
# mvn --no-transfer-progress \
# --batch-mode \
# clean install \
# -Dmaven.javadoc.skip=true
2 changes: 2 additions & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--batch-mode
--no-transfer-progress

0 comments on commit ffa239c

Please sign in to comment.