mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-22 12:05:45 +01:00
ae05cc77c8
* Gradle Updatings, Friendly names in CI, Update JDK in jitpack. * Update HTMLCompressor to 1.9.1. * Update guava. * Ensure minemen is blacklisted.
28 lines
773 B
YAML
28 lines
773 B
YAML
name: Java CI with Gradle
|
|
on: [ push, pull_request ]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v3
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 17
|
|
- name: Cache Dependencies
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: ~/.gradle/
|
|
key: ${{ runner.os }}-build-aspirin-${{ hashFiles('**/build.gradle.kts') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-build-aspirin-
|
|
- name: Build with Gradle
|
|
run: ./gradlew build
|
|
- name: Upload Artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: artifact
|
|
path: build/libs/
|