File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 84
84
mvn versions:commit
85
85
86
86
# Actual build of core SDK
87
- mvn -B -pl '!io.openmanufacturing:bamm-cli' clean deploy -Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -DaltDeploymentRepository=local::default::file://nexus-staging
87
+ mvn -B -pl '!io.openmanufacturing:bamm-cli' clean deploy -Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -DaltDeploymentRepository=local::default::file://nexus-staging -Psign
88
88
# Build of CLI
89
89
cd tools/bamm-cli
90
90
mvn -B clean verify -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
@@ -207,7 +207,11 @@ jobs:
207
207
- name : Release to OSSRH/Maven Central
208
208
if : ${{ !contains( github.event.inputs.release_version, '-M' ) }}
209
209
run : |
210
- mvn nexus-staging:deploy-staged-repository -DrepositoryDirectory=nexus-staging
210
+ mvn nexus-staging:deploy-staged-repository -DrepositoryDirectory=nexus-staging -Prelease-build
211
+ env :
212
+ # Workaround for https://issues.sonatype.org/browse/OSSRH-66257
213
+ # as described in https://stackoverflow.com/a/70157413
214
+ MAVEN_OPTS : --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED
211
215
212
216
- name : Create release commit
213
217
continue-on-error : true
You can’t perform that action at this time.
0 commit comments