Skip to content

更新仓库链接 #187

更新仓库链接

更新仓库链接 #187

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
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