Partial implementation for non-cubic-worlds with extended height #27
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
name: Java CI | |
on: | |
push: | |
branches: | |
- 'MC_1.12' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Set up git submodules | |
run: git submodule init && git submodule update | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build with Gradle | |
env: | |
sonatypeUsername: ${{ secrets.OSSRH_USERNAME }} | |
sonatypePassword: ${{ secrets.OSSRH_PASSWORD }} | |
run: ./gradlew build publish | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: Compiled jars | |
path: build/libs/* |