mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-23 01:27:46 +01:00
30 lines
591 B
YAML
30 lines
591 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
|
|
working_directory: ~/circleci-bskyblock
|
|
|
|
docker:
|
|
- image: circleci/openjdk:8-jdk-browsers
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- restore_cache:
|
|
key: circleci-bskyblock-{{ checksum "pom.xml" }}
|
|
|
|
- run: mvn dependency:go-offline
|
|
|
|
- save_cache:
|
|
paths:
|
|
- ~/.m2
|
|
key: circleci-demo-java-spring-{{ checksum "pom.xml" }}
|
|
|
|
- run: mvn clean
|
|
- run: mvn package
|
|
- run: mvn install
|
|
|
|
- store_artifacts:
|
|
path: target/bskyblock-alpha-0.0.1.jar
|