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

rec pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git


The following commit(s) were added to refs/heads/main by this push:
     new c358557f4 No issue: Prevent deployment for PRs
c358557f4 is described below

commit c358557f4a2f14f33c8777e52a5543ce25d7f4c5
Author: Richard Eckart de Castilho <r...@apache.org>
AuthorDate: Fri Dec 20 18:48:51 2024 +0100

    No issue: Prevent deployment for PRs
---
 .github/workflows/maven.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index e95f69d0e..b3ed4d6be 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -53,7 +53,7 @@ jobs:
       run: mvn --show-version --batch-mode --no-transfer-progress clean verify
       
     - name: Upload to Nexus
-      if: matrix.os == 'ubuntu-latest'
+      if: matrix.os == 'ubuntu-latest' && github.event_name != 'pull_request'
       env:
         # `NEXUS_USERNAME` and `NEXUS_PASSWORD` are used in 
`~/.m2/settings.xml` created by `setup-java` action
         NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}

Reply via email to