File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Bukkit Jar Build
2+
3+ on :
4+ push :
5+ pull_request :
6+ workflow_dispatch :
7+
8+ jobs :
9+ build-bukkit-jar :
10+ name : Build Bukkit JAR
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v6
15+
16+ - name : Set up JDK
17+ uses : actions/setup-java@v5
18+ with :
19+ java-version : 21
20+ distribution : temurin
21+
22+ - name : Setup Gradle
23+ uses : gradle/actions/setup-gradle@v5
24+ with :
25+ cache-read-only : ${{ !(github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/version/')) }}
26+
27+ - name : Build Bukkit distribution JAR
28+ run : ./gradlew :worldedit-bukkit:shadowJar -x test -s
29+
30+ - name : Upload Bukkit JARs
31+ uses : actions/upload-artifact@v6
32+ with :
33+ name : worldedit-bukkit-jars-${{ github.ref_name }}-${{ github.sha }}
34+ path : worldedit-bukkit/build/libs/worldedit-bukkit-*.jar
35+ if-no-files-found : error
36+ retention-days : 30
You can’t perform that action at this time.
0 commit comments