Skip to content

Improve metrics config comment clarity #384

Improve metrics config comment clarity

Improve metrics config comment clarity #384

Workflow file for this run

name: Build
on: [ pull_request, push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v6
- name: Setup Java
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
- name: Cache Gradle Build Cache
uses: actions/cache@v5
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Cache Hytale Server
uses: actions/cache@v5
with:
path: |
hytale/libs/HytaleServer.jar
hytale/build/download/hytale-downloader-linux-amd64
key: ${{ runner.os }}-hytale-download
restore-keys: |
${{ runner.os }}-hytale-
- name: Download Hytale Server
env:
HYTALE_DOWNLOADER_CREDENTIALS: ${{ secrets.HYTALE_DOWNLOADER_CREDENTIALS }}
run: ./gradlew :hytale:download-server
- name: Build with Gradle
run: ./gradlew build
- name: Test with Gradle
run: ./gradlew test