1
0
mirror of https://github.com/GeyserMC/PackConverter.git synced 2025-12-29 19:59:13 +00:00

Proper publishing setup (#17)

* Attempt at fixing published artifact

* wohoo it works

* attempt at excluding bootstrap's shadow jar from publishing

* Update gradle, fix publishing (aka, dont publish shadowed bootstrap build to maven)

* Don't apply shadow plugin for the converter

* why are we publishing the lib as an artifact...?

* make these implementation

* Shade bedrock-pack-schema into pack-schema-api
This commit is contained in:
chris
2024-03-13 15:34:58 +01:00
committed by GitHub
parent 0a1114b22f
commit 7a2caf6f5d
11 changed files with 108 additions and 79 deletions

View File

@@ -47,14 +47,6 @@ jobs:
path: bootstrap/build/libs/PackConverter.jar
if-no-files-found: error
- name: Archive artifacts (Converter)
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
if: success()
with:
name: PackConverter Library
path: converter/build/libs/PackConverter-lib.jar
if-no-files-found: error
- name: Publish to Maven Repository
if: ${{ success() && github.repository == 'GeyserMC/PackConverter' && github.ref_name == 'master' }}
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5