Skip to content

Commit

Permalink
ci: fix bug in build yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Suisuroru committed Jan 20, 2025
1 parent 869e290 commit c0fb457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto_build_jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
run: ./gradlew shadowJar

- name: Rename JAR file
id: rename_and_upload
id: rename_file
run: |
TARGET_JAR="BasePlugin-${{ env.VERSION }}.jar"
SOURCE_JAR=$(find run/plugins -name "*.jar" -print -quit)
Expand All @@ -103,7 +103,7 @@ jobs:
path: BasePlugin-${{ env.VERSION }}.jar

- name: Upload JAR file
id: rename_and_upload
id: upload_file
run: |
gh release upload newest-build ${TARGET_JAR}
env:
Expand Down

0 comments on commit c0fb457

Please sign in to comment.