Skip to content

Merge pull request #15 from Splitterlicht/dependabot/maven/org.xerial… #42

Merge pull request #15 from Splitterlicht/dependabot/maven/org.xerial…

Merge pull request #15 from Splitterlicht/dependabot/maven/org.xerial… #42

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Build DEV Jars
on: [push, pull_request]
jobs:
build_dev_jars:
name: Build DEV jars
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
- uses: actions/checkout@master
with:
repository: IPVP-MC/canvas
ref: refs/heads/master
path: canvas
- name: install canvas
run: (cd canvas; mvn clean install)
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload Plugin jar
uses: actions/upload-artifact@v3
with:
name: PortalShard.jar
path: target/*.jar