aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-23 00:26:37 -0500
committerGitHub <noreply@github.com>2020-12-23 00:26:37 -0500
commit7e9d87ee15f99478fb70b10b4e83ff575b235ca6 (patch)
tree8c0443a90f2fcabe76f4a459e37f5f9e448d0f75
parenta41e7174024d364254588815e862d65362c0e046 (diff)
downloadSkyblockMod-7e9d87ee15f99478fb70b10b4e83ff575b235ca6.tar.gz
SkyblockMod-7e9d87ee15f99478fb70b10b4e83ff575b235ca6.tar.bz2
SkyblockMod-7e9d87ee15f99478fb70b10b4e83ff575b235ca6.zip
Update gradle.yml
-rw-r--r--.github/workflows/gradle.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 236855e..1ff3b4a 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
-name: Java CI with Gradle
+name: Build Mod with Gradle
on:
push:
@@ -20,7 +20,18 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
+ - name: Cache Gradle packages
+ uses: actions/cache@v2
+ with:
+ path: ~/.gradle/caches
+ key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
+ restore-keys: ${{ runner.os }}-gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
+ - name: Upload artifacts
+ - uses: actions/upload-artifact@v2
+ with:
+ name: Mod (Beta)
+ path: build/libs