VIAaaS/.github/workflows/gradle.yml
Kichura ae05cc77c8
Gradle Updatings, Friendly names in CI, Update JDK in jitpack. (#230)
* Gradle Updatings, Friendly names in CI, Update JDK in jitpack.

* Update HTMLCompressor to 1.9.1.

* Update guava.

* Ensure minemen is blacklisted.
2023-06-20 18:25:54 +02:00

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/