File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 63
63
uses : actions/upload-artifact@v4
64
64
with :
65
65
name : serverpulse-fabric-jar
66
- path : fabric/build/libs/*.jar
66
+ path : fabric/build/libs/serverpulse- *.jar
67
67
retention-days : 14 # Keep artifacts for 14 days
68
68
if-no-files-found : error # Fail the workflow if no JARs are found
69
69
Original file line number Diff line number Diff line change 75
75
- name : Find Fabric Jar and Extract Name
76
76
id : find_fabric_jar
77
77
run : |
78
- JAR_PATH=$(find fabric/build/libs -maxdepth 1 -name '*.jar' -printf "%s %p\n" | sort -nr | head -n 1 | awk '{print $2}')
78
+ JAR_PATH=$(find fabric/build/libs -maxdepth 1 -name 'serverpulse- *.jar' -printf "%s %p\n" | sort -nr | head -n 1 | awk '{print $2}')
79
79
if [ -z "$JAR_PATH" ]; then
80
80
echo "Error: Could not find the shadow JAR file in fabric/build/libs/"
81
81
exit 1
You can’t perform that action at this time.
0 commit comments