From 195616a053a41dc4c489ba00c8b9e52b610c7103 Mon Sep 17 00:00:00 2001 From: sya-ri Date: Sat, 23 Dec 2023 19:40:51 +0900 Subject: [PATCH] ci: Flatten jar file path --- .github/workflows/build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 943d6bd..2b6c053 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,15 +11,17 @@ jobs: java-version: '21' - name: Build run: ./gradlew build + - name: Copy + run: | + cp all/build/libs/MinecraftServerExceptionDiscordSender.jar . + cp bukkit/build/libs/MinecraftServerExceptionDiscordSender-bukkit.jar . + cp bungee/build/libs/MinecraftServerExceptionDiscordSender-bungee.jar . + cp velocity/build/libs/MinecraftServerExceptionDiscordSender-velocity.jar . - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: Build - path: | - all/build/libs/MinecraftServerExceptionDiscordSender.jar - bukkit/build/libs/MinecraftServerExceptionDiscordSender-bukkit.jar - bungee/build/libs/MinecraftServerExceptionDiscordSender-bungee.jar - velocity/build/libs/MinecraftServerExceptionDiscordSender-velocity.jar + path: '*.jar' release: needs: [build] runs-on: ubuntu-latest