File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 40
40
- name : Find Shadow Jar and Extract Name
41
41
id : find_jar
42
42
run : |
43
- JAR_PATH=$(find plugin /build/libs -maxdepth 1 -name '*.jar' -printf "%s %p\n" | sort -nr | head -n 1 | awk '{print $2}')
43
+ JAR_PATH=$(find bukkit /build/libs -maxdepth 1 -name '*.jar' -printf "%s %p\n" | sort -nr | head -n 1 | awk '{print $2}')
44
44
if [ -z "$JAR_PATH" ]; then
45
- echo "Error: Could not find the shadow JAR file in plugin /build/libs/"
45
+ echo "Error: Could not find the shadow JAR file in bukkit /build/libs/"
46
46
exit 1
47
47
fi
48
48
JAR_FILENAME=$(basename "$JAR_PATH")
60
60
file : ${{ steps.find_jar.outputs.path }} # The path to the JAR found in the previous step
61
61
asset_name : ${{ steps.find_jar.outputs.filename }} # Use the filename extracted earlier
62
62
tag : ${{ github.ref }} # The git tag associated with the release that triggered the workflow
63
- overwrite : true # Optional: Replace asset with the same name if it already exists
63
+ overwrite : true # Optional: Replace asset with the same name if it already exists
You can’t perform that action at this time.
0 commit comments