-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split java11 to separate workflow to avoid duplidate deploy, Add depe…
…ndency submission action to java17 build
- Loading branch information
Showing
2 changed files
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Build IPF with Maven Java 11 | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
env: | ||
MAVEN_OPTS: -Xmx2048m | ||
|
||
# on download timeouts, consider to disable connection pooling | ||
# -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.count=3 | ||
# or consider to restrict the ttl | ||
# -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Java 11 build | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '11' | ||
cache: 'maven' | ||
- name: Build with Maven | ||
run: mvn -B clean test --file pom.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters