File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 23
23
with :
24
24
java-version : ' 21'
25
25
distribution : ' temurin' # Or 'adopt', 'zulu', etc.
26
-
26
+
27
27
# 3. Give permission to gradle to execute commands
28
28
- name : Grant execute permission for gradlew
29
29
run : chmod +x gradlew
35
35
36
36
# Gradle with the new updates doesn't support arguments
37
37
- name : Build jar
38
- run : ./gradlew shadowJar
38
+ run : ./gradlew shadowJar
39
+
40
+ # Upload JAR as an artifact (NEW STEP)
41
+ - name : Upload JAR Artifact
42
+ uses : actions/upload-artifact@v4
43
+ with :
44
+ name : plugin-jar
45
+ path : bukkit/build/libs/*.jar # Adjust this path to match your JAR location
46
+ retention-days : 14 # Keep artifacts for 14 days
47
+ if-no-files-found : error # Fail the workflow if no JARs are found
39
48
40
49
# --- Infrastructure Testing ---
41
50
Original file line number Diff line number Diff line change 1
1
group = " it.renvins"
2
- version = " 0.2.1 -SNAPSHOT"
2
+ version = " 0.2.2 -SNAPSHOT"
3
3
4
4
repositories {
5
5
mavenCentral()
You can’t perform that action at this time.
0 commit comments