JSON-java icon indicating copy to clipboard operation
JSON-java copied to clipboard

Question regarding GitHub Actions pipeline definition

Open Okeanos opened this issue 3 years ago • 1 comments

I had a look at the pipeline definition and I am somewhat confused at the fact that especially the Java 1.6 build works as expected.

I would have expected a actions/setup-java@v3 task with the following inputs in place of what currently exists:

- name: Set up JDK
  uses: actions/setup-java@v3
  with:
    distribution: zulu
    java-version: 6

As far as I can currently tell no setup-java distribution vendor offers 1.6 as version. The only Java 6 (1.6) version available I could find is offered by Azul via Zulu. Also, the selected runners of type ubuntu-latest (currently at 20.04 also doesn't include a Java 1.6/6 version).

I can see that the JDK for 1.6/6 is part of the hosted tool cache, though.

What am I missing?

I am also wondering whether this would be an appropriate use case for Maven Toolchains so that Maven could be used to build the project instead of directly invoking the Java Compiler.

Okeanos avatar Oct 16 '22 13:10 Okeanos

@Okeanos I am not sure, but will take a look when time permits. There are no plans to make changes to the build pipeline at this time.

stleary avatar Oct 21 '22 00:10 stleary

Closed due to lack of activity.

stleary avatar Sep 30 '23 17:09 stleary