This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/main by this push:
     new 7e91bc523 Deploy the top-level pom too
7e91bc523 is described below

commit 7e91bc523cf4c7ee9ff4fb1f48a27c26947cf30d
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Fri Aug 16 00:13:32 2024 +0300

    Deploy the top-level pom too
    
    Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---
 .github/workflows/java-publish-snapshot.yml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/.github/workflows/java-publish-snapshot.yml 
b/.github/workflows/java-publish-snapshot.yml
index e6b83a25b..b0d08eaf5 100644
--- a/.github/workflows/java-publish-snapshot.yml
+++ b/.github/workflows/java-publish-snapshot.yml
@@ -62,14 +62,11 @@ jobs:
         with:
           maven-version: 3.9.8
 
-      - name: 'Install Java Avro Toplevel'
-        working-directory: ./
-        run: mvn -B install -PskipQuality -DskipTests  
-
       - name: 'Deploy Maven snapshots'
         env:
           ASF_USERNAME: ${{ secrets.NEXUS_USER }}
           ASF_PASSWORD: ${{ secrets.NEXUS_PW }}
         run: |
           echo 
"<settings><servers><server><id>apache.snapshots.https</id><username>$ASF_USERNAME</username><password>$ASF_PASSWORD</password></server></servers></settings>"
 > settings.xml
+          pushd ../.. && mvn --settings settings.xml -B -ntp --non-recursive 
deploy && popd
           mvn --settings settings.xml -U -B -e -fae -ntp -PskipQuality deploy

Reply via email to