mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-22 21:04:53 +01:00
ci(java): try skipping module from cli args
while building, those tasks dont exist so it fails building
This commit is contained in:
parent
7a5b610670
commit
8c6e70cbe8
2 changed files with 1 additions and 9 deletions
2
.github/workflows/java.yml
vendored
2
.github/workflows/java.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
|||
with:
|
||||
name: codemp-java-${{ matrix.platform.target }}
|
||||
path: dist/java/build/libs
|
||||
- run: gradle publish
|
||||
- run: gradle publish -x generateMetadataFileForBinaryAndSourcesPublication -x generateMetadataFileForBinaryPublication
|
||||
working-directory: dist/java
|
||||
env:
|
||||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
|
||||
|
|
8
dist/java/build.gradle
vendored
8
dist/java/build.gradle
vendored
|
@ -48,14 +48,6 @@ processResources {
|
|||
}
|
||||
}
|
||||
|
||||
generateMetadataFileForBinaryAndSourcesPublication.configure {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
generateMetadataFileForBinaryPublication.configure {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
import com.vanniktech.maven.publish.SonatypeHost
|
||||
mavenPublishing {
|
||||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
|
||||
|
|
Loading…
Reference in a new issue