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-ruta.git


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

commit 3e0a9b8aa81360079d1e0e5cc6248fffb86e71c7
Author: Richard Eckart de Castilho <[email protected]>
AuthorDate: Fri Dec 20 18:48:02 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 e95f69d0..b3ed4d6b 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