ci(java): run gradle publish in right wd

This commit is contained in:
zaaarf 2024-09-18 02:44:19 +02:00
parent d2b5e413c5
commit b65dc1ca45
No known key found for this signature in database
GPG key ID: C91CFF9E2262BBA1

View file

@ -41,6 +41,7 @@ jobs:
name: codemp-java-${{ matrix.platform.target }} name: codemp-java-${{ matrix.platform.target }}
path: dist/java/build/libs path: dist/java/build/libs
- run: gradle publish - run: gradle publish
working-directory: dist/java
env: env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }} MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}