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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new 4a0eab26 Oops; need to limit deploys
4a0eab26 is described below

commit 4a0eab260015ed3028307f91cb98d8cc77735e7a
Author: Sebb <s...@apache.org>
AuthorDate: Sun Dec 24 16:13:08 2023 +0000

    Oops; need to limit deploys
---
 .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 30880ca6..40e40e77 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -78,7 +78,7 @@ jobs:
     - name: Build with Maven
       run: mvn --show-version --batch-mode --no-transfer-progress 
-DtrimStackTrace=false
     - name: Deploy SNAPSHOT using minimal build
-      if: matrix.deploy
+      if: matrix.deploy && github.repository == 'apache/commons-io' && 
github.ref_name == 'master' 
       env:
         NEXUS_USER: ${{ secrets.NEXUS_USER }}
         NEXUS_PW: ${{ secrets.NEXUS_PW }}

Reply via email to