We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b39909a commit cc0b49fCopy full SHA for cc0b49f
.github/workflows/build.yml
@@ -38,6 +38,7 @@ jobs:
38
39
- name: Cache .m2 directory
40
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
41
+ id: cache
42
with:
43
path: ~/.m2
44
key: m2-cache
@@ -48,6 +49,7 @@ jobs:
48
49
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
50
51
- name: Setup BuildTools
52
+ if: steps.cache.outputs.cache-hit != 'true'
53
run: |
54
wget "https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar"
55
java -jar BuildTools.jar --rev 1.14.4
0 commit comments