mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
25 lines
457 B
YAML
25 lines
457 B
YAML
language: java
|
|
jdk:
|
|
- openjdk8
|
|
|
|
before_cache:
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
|
cache:
|
|
directories:
|
|
- $HOME/.gradle/caches/
|
|
- $HOME/.gradle/wrapper/
|
|
|
|
jobs:
|
|
include:
|
|
- stage: check
|
|
script: ./gradlew check
|
|
- stage: publish
|
|
script: ./gradlew build publish
|
|
on:
|
|
branch: master
|
|
|
|
stages:
|
|
- check
|
|
- name: publish
|
|
if: env(ACCESS_KEY)
|