Allow objects to listen for changes to the equipment list #452
Workflow file for this run
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
name: JavaDoc Generation | |
on: | |
pull_request: | |
branches: [master] | |
env: | |
GRADLE_OPTS: "-Dscan.link.VCS=${{ github.event.pull_request.html_url }}" | |
jobs: | |
javadoc: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
java-distribution: [temurin] | |
java-version: [17] | |
fail-fast: false | |
steps: | |
- name: "Check out MegaMek" | |
uses: actions/checkout@v4 | |
with: | |
path: megamek | |
- name: Set up ${{ matrix.java-distribution }} JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.java-distribution }} | |
java-version: ${{ matrix.java-version }} | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Build with Gradle | |
working-directory: megamek | |
run: ./gradlew javadoc |