Skip to content

Commit bb1d8f9

Browse files
authored
Fix CI of release
1 parent eda749a commit bb1d8f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/create_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ jobs:
4040
- name: Find Shadow Jar and Extract Name
4141
id: find_jar
4242
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}')
4444
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/"
4646
exit 1
4747
fi
4848
JAR_FILENAME=$(basename "$JAR_PATH")
@@ -60,4 +60,4 @@ jobs:
6060
file: ${{ steps.find_jar.outputs.path }} # The path to the JAR found in the previous step
6161
asset_name: ${{ steps.find_jar.outputs.filename }} # Use the filename extracted earlier
6262
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

0 commit comments

Comments
 (0)