diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-08-30 14:36:35 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-30 14:36:35 +0900 |
| commit | c9fc607df4c20b840d804ba6d8cfcfd8750a45c7 (patch) | |
| tree | 83de49ac98b2e6bf49783278a096304c7be9179c /.github/workflows | |
| parent | 44132f3a73651fbd334a314fbc4ab47f5f1bbd5b (diff) | |
| parent | adb97b712043253afdfb8debcb413a676b7d9c2f (diff) | |
| download | LunaticChat-c9fc607df4c20b840d804ba6d8cfcfd8750a45c7.tar.gz LunaticChat-c9fc607df4c20b840d804ba6d8cfcfd8750a45c7.tar.bz2 LunaticChat-c9fc607df4c20b840d804ba6d8cfcfd8750a45c7.zip | |
Merge pull request #295 from m1sk9/fix/nightly-tags
fix: mark nightly builds with a `-nightly.<hash>` version and flatten CI artifacts
Diffstat (limited to '.github/workflows')
| -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: |
