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:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user