mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 19:58:34 +01:00
94e90ad795
I'm good at things
25 lines
653 B
YAML
25 lines
653 B
YAML
name: Java CI
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up JDK 1.8
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 1.8
|
|
- name: Restore cache
|
|
uses: actions/cache@v1
|
|
with:
|
|
path: ~/.gradle/caches
|
|
key: ${{ runner.os }}-gradle-${{ hashFiles('build.gradle') }}
|
|
- name: Build with Gradle
|
|
run: ./gradlew build
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v1.0.0
|
|
with:
|
|
# Artifact name
|
|
name: NaturesAura
|
|
# Directory containing files to upload
|
|
path: build/libs
|