Skip to content

issue #335 - use openjdk in favor of zulu#340

Merged
lmsurpre merged 3 commits intomasterfrom
github-action
Oct 30, 2019
Merged

issue #335 - use openjdk in favor of zulu#340
lmsurpre merged 3 commits intomasterfrom
github-action

Conversation

@lmsurpre
Copy link
Copy Markdown
Member

this commit introduces a dependency on https://github.com/marketplace/actions/setup-java-environment-based-on-adoptopenjdk

Signed-off-by: Lee Surprenant lmsurpre@us.ibm.com

this commit introduces a dependency on https://github.com/marketplace/actions/setup-java-environment-based-on-adoptopenjdk

Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
@lmsurpre lmsurpre requested a review from prb112 October 30, 2019 16:41
Copy link
Copy Markdown
Contributor

@prb112 prb112 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM...

one suggestion on -ntp to cut down on the transfer progress logs

Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated
lmsurpre and others added 2 commits October 30, 2019 13:57
as suggested by Paul during review

however, since we're already running maven in batch mode, adding this flag just skips the following lines:
```
[INFO] Downloading from central: ...
[INFO] Downloaded from central: ... (8.1 kB at 24 kB/s)
```

Download errors should still show up.

Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>

Co-Authored-By: Paul Bastide <pbastide@us.ibm.com>
it still builds with OpenJDK 11, it just cross-compiles for java 1.8.

i kept the java.version property, so folks can still pass `-Djava.version=11` if they really want to compile for java 11, but since we want to be buildable and runnable on java 8 we won't be using any java 11 source features at this time.

also set fail-fast to false so that we get both java 8 and java 11 results each time

Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
@lmsurpre lmsurpre merged commit 881d884 into master Oct 30, 2019
@lmsurpre lmsurpre deleted the github-action branch October 30, 2019 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants