Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.0 to 3.1… #281
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
# 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: Java CI with Maven | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK 21 | |
uses: actions/[email protected] | |
with: | |
java-version: '21' | |
distribution: 'zulu' | |
- name: Update version | |
run: mvn versions:set -DnewVersion=dev-${{ github.run_number }} -DprocessAllModules=true | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
# MiraiMC-Bukkit.jar | |
- name: Upload a Build Artifact - MiraiMC Bukkit | |
uses: actions/[email protected] | |
with: | |
name: "MiraiMC-Bukkit.jar" | |
path: MiraiMC-Bukkit/target/MiraiMC-Bukkit.jar | |
# MiraiMC-Bungee.jar | |
- name: Upload a Build Artifact - MiraiMC Bungee | |
uses: actions/[email protected] | |
with: | |
name: "MiraiMC-Bungee.jar" | |
path: MiraiMC-Bungee/target/MiraiMC-Bungee.jar | |
# MiraiMC-Sponge.jar | |
- name: Upload a Build Artifact - MiraiMC Sponge | |
uses: actions/[email protected] | |
with: | |
name: "MiraiMC-Sponge.jar" | |
path: MiraiMC-Sponge/target/MiraiMC-Sponge.jar | |
# MiraiMC-Nukkit.jar | |
- name: Upload a Build Artifact - MiraiMC Nukkit | |
uses: actions/[email protected] | |
with: | |
name: "MiraiMC-Nukkit.jar" | |
path: MiraiMC-Nukkit/target/MiraiMC-Nukkit.jar | |
# MiraiMC-Velocity.jar | |
- name: Upload a Build Artifact - MiraiMC Velocity | |
uses: actions/[email protected] | |
with: | |
name: "MiraiMC-Velocity.jar" | |
path: MiraiMC-Velocity/target/MiraiMC-Velocity.jar |