diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-08-30 14:31:43 +0900 |
|---|---|---|
| committer | Sho Sakuma <me@m1sk9.dev> | 2026-08-30 14:31:43 +0900 |
| commit | adb97b712043253afdfb8debcb413a676b7d9c2f (patch) | |
| tree | 83de49ac98b2e6bf49783278a096304c7be9179c /.github | |
| parent | 48bd6845e76b479d7db8ad23820b988db19ad381 (diff) | |
| download | LunaticChat-adb97b712043253afdfb8debcb413a676b7d9c2f.tar.gz LunaticChat-adb97b712043253afdfb8debcb413a676b7d9c2f.tar.bz2 LunaticChat-adb97b712043253afdfb8debcb413a676b7d9c2f.zip | |
ci: publish the plugin JARs at the artifact root
Listing both platforms under one artifact made upload-artifact root the
archive at the workspace, so downloading it yielded nested
platform-*/build/libs directories instead of the JARs themselves.
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yaml | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d2acf15..740c521 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -46,14 +46,22 @@ jobs: - name: Build with shadowJar run: ./gradlew :platform-paper:shadowJar :platform-velocity:shadowJar -PisNightly=true --parallel --no-daemon - - name: Upload build artifacts + # One artifact per platform: a single glob path makes upload-artifact root the archive + # at libs/, so the JAR lands at the top level instead of nested build directories. + - name: Upload Paper build artifact uses: actions/upload-artifact@v7 if: success() with: - name: LunaticChat-${{ github.sha }} - path: | - platform-paper/build/libs/LunaticChat-*.jar - platform-velocity/build/libs/LunaticChat-*-velocity.jar + name: LunaticChat-paper-${{ github.sha }} + path: platform-paper/build/libs/LunaticChat-*.jar + retention-days: 7 + + - name: Upload Velocity build artifact + uses: actions/upload-artifact@v7 + if: success() + with: + name: LunaticChat-velocity-${{ github.sha }} + path: platform-velocity/build/libs/LunaticChat-*-velocity.jar retention-days: 7 build_dokka: |
