fix typo #21
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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml | |
settings-path: ${{ github.workspace }} # location for the settings.xml file | |
- uses: burrunan/gradle-cache-action@03c71a8ba93d670980695505f48f49daf43704a6 | |
name: Build BiomeTool | |
with: | |
# Specifies arguments for Gradle execution | |
# If arguments is missing or empty, then Gradle is not executed | |
arguments: build | |
# arguments can be multi-line for better readability | |
# arguments: | | |
# --no-paralell | |
# build | |
# -x test | |
# Gradle version to use for execution: | |
# wrapper (default), current, rc, nightly, release-nightly, or | |
# versions like 6.6 (see https://services.gradle.org/versions/all) | |
gradle-version: wrapper | |
# Properties are passed as -Pname=value | |
properties: | | |
kotlin.js.compiler=ir | |
kotlin.parallel.tasks.in.project=true | |
- name: Release | |
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
build/libs/BiomeTool-*-all.jar |