Merge branch 'master' into Nukkit-PM1E #198
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 | |
on: | |
push: | |
branches: [ master, Nukkit-PM1E, PNX ] | |
pull_request: | |
branches: [ master, Nukkit-PM1E, PNX ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: true | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build projects | |
run: mvn -B package | |
- run: mkdir staging && cp target/*.jar staging | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v1 | |
if: success() | |
with: | |
name: MemoriesOfTime-GameCore-SNAPSHOT | |
path: staging |