Melhorias do sistema de chat de clãs #70
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
# 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: CI | |
on: | |
push: | |
branches: [ 'master', 'update' ] | |
pull_request: | |
branches: [ 'master', 'update' ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: true | |
max-parallel: 4 | |
matrix: | |
java-version: [ 17 ] | |
runs-on: ubuntu-latest | |
name: Java ${{ matrix.java-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: "Set up JDK ${{ matrix.java-version }}" | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "${{ matrix.java-version }}" | |
distribution: 'adopt' | |
cache: 'maven' | |
- name: Install VentureChat | |
run: mvn install:install-file -Dfile=libs/VentureChat-3.7.1.jar -DgroupId=mineverse.Aust1n46.chat -DartifactId=VentureChat -Dversion=3.7.1 -Dpackaging=jar -f pom.xml | |
- name: Build with Maven | |
run: ./mvnw -B -U package --file pom.xml | |
- name: Upload Build Artifact | |
if: "${{ matrix.java-version == 17 }}" | |
uses: actions/upload-artifact@v3 | |
with: | |
name: SimpleClans | |
path: target/SimpleClans-*.jar |