From 4d27ddfe57623cf5c5f8584851b80c348e3f6004 Mon Sep 17 00:00:00 2001 From: Zach Date: Tue, 6 Aug 2024 21:40:47 -0500 Subject: [PATCH] Update bungee.yml --- .github/workflows/bungee.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bungee.yml b/.github/workflows/bungee.yml index 82fbbb0..5c2945c 100644 --- a/.github/workflows/bungee.yml +++ b/.github/workflows/bungee.yml @@ -18,7 +18,7 @@ jobs: run: mvn -B package --file pom.xml - name: Rename JAR with Build Number run: | - original_jar=$(find SimpleStaffChat-Bungee/target/ -type f -name "SimpleGems-*.jar") + original_jar=$(find SimpleStaffChat-Bungee/target/ -type f -name "SimpleStaffChat-Bungee-*.jar") new_name=$(echo "$original_jar" | sed "s/SimpleStaffChat-Bungee-\(.*\)\.jar/SimpleStaffChat-Bungee-\1+${{ github.run_number }}.jar/") mv "$original_jar" "$new_name" - name: Upload a Build Artifact