From 85fdabf3b026aef73ac381c403efc75842256b1c Mon Sep 17 00:00:00 2001 From: Lorenzo Natali Date: Wed, 6 Mar 2024 14:51:45 +0100 Subject: [PATCH] Update CI.yml (#10033) --- .github/workflows/CI.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f28fdba7f4..015e40b4db 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -177,7 +177,13 @@ jobs: server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - name: Publish maven packages - run: mvn clean install deploy -f java/pom.xml + # Here it deploys only java modules and root, needed for MS project builds. + # Product, binary modules are to big to be hosted on the repository in snapshots, so they are skipped + run: | + # deploys java packages + mvn clean install deploy -f java/pom.xml + # deploys also the root module, needed for dependencies + mvn deploy --non-recursive env: MAVEN_USERNAME: ${{ secrets.GS_MAVEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.GS_MAVEN_PASSWORD }}