-
Notifications
You must be signed in to change notification settings - Fork 615
43 lines (38 loc) · 1.66 KB
/
earlyaccess-javadoc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: JDK-EA Javadoc
on: [push, pull_request]
jobs:
applications:
name: Unit Test EA
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
java-version: [23]
runs-on: ${{ matrix.os }}
steps:
- name: Git Checkout
uses: actions/checkout@v4
- name: Download JDK ${{ matrix.java-version }} from jdk.java.net
uses: oracle-actions/setup-java@v1
id: download-jdk
with:
website: jdk.java.net
release: ${{ matrix.java-version }}
- name: 'Print outputs'
shell: bash
run: |
echo 'Outputs'
echo "steps.download-jdk.outputs.archive = ${{ steps.download-jdk.outputs.archive }}"
echo "steps.download-jdk.outputs.version = ${{ steps.download-jdk.outputs.version }}"
- name: Set Maven Wrapper
run: mvn -N wrapper:wrapper -Dmaven=3.6.3 --no-transfer-progress
- name: 'JDK Version'
run: java --version
- name: Build Generator
run: ./mvnw -Dsurefire.useFile=false -DskipTests -Denforcer.skip=true clean install -pl 'eclipse-collections-code-generator,eclipse-collections-code-generator-maven-plugin' --no-transfer-progress
- name: Javadoc
run: ./mvnw -Dsurefire.useFile=false -DskipTests -Denforcer.skip=true clean javadoc:aggregate install -pl '!unit-tests,!serialization-tests,!jcstress-tests,!junit-trait-runner,!unit-tests-java8,!test-coverage' --no-transfer-progress
env:
MAVEN_OPTS: "-Xmx2g"