aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYasin <LifeIsAParadox@users.noreply.github.com>2023-07-30 06:44:22 +0200
committerGitHub <noreply@github.com>2023-07-30 00:44:22 -0400
commitd32220e74aa1df8a5aa4be2a45a0cfb1122ec017 (patch)
treecd91da9ac6fa19936c43e0d88a9c647cfdd7cfa3 /.github
parentae3932e9d5734617e1b41deb3c95f4c10c01a6a8 (diff)
downloadSkyblocker-d32220e74aa1df8a5aa4be2a45a0cfb1122ec017.tar.gz
Skyblocker-d32220e74aa1df8a5aa4be2a45a0cfb1122ec017.tar.bz2
Skyblocker-d32220e74aa1df8a5aa4be2a45a0cfb1122ec017.zip
add cache for beta builds (#224)
improve build time
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/beta.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml
index 4ab11edf..3dac97b4 100644
--- a/.github/workflows/beta.yml
+++ b/.github/workflows/beta.yml
@@ -32,6 +32,17 @@ jobs:
distribution: 'microsoft'
java-version: '17'
+ - name: Initialize caches
+ uses: actions/cache@v3
+ with:
+ path: |
+ ~/.gradle/caches
+ ~/.gradle/loom-cache
+ ~/.gradle/wrapper
+ key: ${{ runner.os }}-build-external-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
+ restore-keys: |
+ ${{ runner.os }}-build-external-
+
- name: Grant execute permission for gradlew
run: chmod +x gradlew