Skip to content

Commit

Permalink
ci: Flatten jar file path
Browse files Browse the repository at this point in the history
  • Loading branch information
sya-ri committed Dec 23, 2023
1 parent a3c72a2 commit 195616a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 195616a

Please # to comment.