aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorThatGravyBoat <thatgravyboat@gmail.com>2021-07-06 17:33:02 -0230
committerGitHub <noreply@github.com>2021-07-06 17:33:02 -0230
commitb551a28a0ba8f10b0e756a9f3e57621b2fb6020d (patch)
tree0b2f6d3462eec5cc13e38f2771a89c2c6f86d9a3 /.github/workflows/build.yml
parent6d8e1e5659f64a4f9ba86d6ab5bbc8e688faf22a (diff)
parent4e9dd2b26625a5129bfcf41d8f7dd7e6fdab5a2d (diff)
downloadSkyblockHud-Death-Defied-b551a28a0ba8f10b0e756a9f3e57621b2fb6020d.tar.gz
SkyblockHud-Death-Defied-b551a28a0ba8f10b0e756a9f3e57621b2fb6020d.tar.bz2
SkyblockHud-Death-Defied-b551a28a0ba8f10b0e756a9f3e57621b2fb6020d.zip
Merge pull request #1 from ThatGravyBoat/tyman
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..21ab056
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,42 @@
+name: Build
+
+on:
+ push:
+ branches:
+ - '*'
+ paths-ignore:
+ - '.gitignore'
+ pull_request:
+ branches:
+ - '*'
+ paths-ignore:
+ - '.gitignore'
+ workflow_dispatch:
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ - uses: actions/cache@v2
+ with:
+ path: |
+ ~/.gradle/caches
+ ~/.gradle/wrapper
+ key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
+ restore-keys: |
+ ${{ runner.os }}-gradle-
+ - name: Grant execute permission for gradlew
+ run: chmod +x gradlew
+ - name: Build with Gradle
+ run: ./gradlew build
+ - uses: actions/upload-artifact@v2
+ with:
+ path: build/libs/*.jar
+ - name: Stop gradle daemons
+ run: ./gradlew --stop \ No newline at end of file