Skip to content

Update maven.yml

Update maven.yml #13

Workflow file for this run

# 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 8
uses: actions/[email protected]
with:
java-version: '8'
distribution: 'zulu'
- name: Build with Maven
run: mvn -B package --file pom.xml
# Chat2QQ-Bukkit.jar
- name: Upload a Build Artifact - Chat2QQ Bukkit
uses: actions/[email protected]
with:
name: "Chat2QQ-Bukkit.jar"
path: Chat2QQ-Bukkit/target/Chat2QQ-Bukkit.jar
# Chat2QQ-Bungee.jar
- name: Upload a Build Artifact - Chat2QQ Bungee
uses: actions/[email protected]
with:
name: "Chat2QQ-Bungee.jar"
path: Chat2QQ-Bungee/target/Chat2QQ-Bungee.jar
# Chat2QQ-Nukkit.jar
- name: Upload a Build Artifact - Chat2QQ Nukkit
uses: actions/[email protected]
with:
name: "Chat2QQ-Nukkit.jar"
path: Chat2QQ-Nukkit/target/Chat2QQ-Nukkit.jar