1 parent 6ebd48e commit 3d74e3aCopy full SHA for 3d74e3a
1 file changed
.github/workflows/gradle.yml
@@ -0,0 +1,27 @@
1
+# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
2
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
3
+
4
+name: Java CI with Gradle
5
6
+on: [ push, pull_request ]
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ with:
14
+ fetch-depth: 0
15
+ - uses: actions/setup-java@v4
16
17
+ distribution: 'zulu'
18
+ java-version: '8'
19
+ cache: 'gradle'
20
+ - name: Grant execute permission for gradlew
21
+ run: chmod +x gradlew
22
+ - name: Build the mod
23
+ run: ./gradlew --no-daemon build
24
+ - uses: actions/upload-artifact@v4
25
26
+ name: Download
27
+ path: build/libs
0 commit comments