mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 11:53:29 +01:00
I'm honestly not sure why this doesn't work
I'm good at things
This commit is contained in:
parent
f8e833af01
commit
94e90ad795
1 changed files with 7 additions and 6 deletions
13
.github/workflows/gradle.yml
vendored
13
.github/workflows/gradle.yml
vendored
|
@ -1,24 +1,25 @@
|
||||||
name: Java CI
|
name: Java CI
|
||||||
|
on: [push, pull_request]
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 1.8
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
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
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v1.0.0
|
uses: actions/upload-artifact@v1.0.0
|
||||||
with:
|
with:
|
||||||
|
# Artifact name
|
||||||
name: NaturesAura
|
name: NaturesAura
|
||||||
# Directory containing files to upload
|
# Directory containing files to upload
|
||||||
path: build/libs
|
path: build/libs
|
||||||
|
|
Loading…
Reference in a new issue