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


The following commit(s) were added to refs/heads/master by this push:
     new 1058ec78 Only deploy on our default branch
1058ec78 is described below

commit 1058ec78a50a5b84ca60ee2811092c97b3aca91a
Author: Sebb <s...@apache.org>
AuthorDate: Wed Dec 20 17:57:58 2023 +0000

    Only deploy on our default branch
---
 .github/workflows/maven_crosstest.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/maven_crosstest.yml 
b/.github/workflows/maven_crosstest.yml
index 3c46abf0..645c72b1 100644
--- a/.github/workflows/maven_crosstest.yml
+++ b/.github/workflows/maven_crosstest.yml
@@ -128,6 +128,7 @@ jobs:
           key: ${{ env.CACHE-LINUX }}
           path: target
       - name: Package and deploy to Maven Central on macOS
+        if: github.repository == 'apache/commons-crypto' && github.ref_name == 
'master'
         env:
           NEXUS_USER: ${{ secrets.NEXUS_USER }}
           NEXUS_PW: ${{ secrets.NEXUS_PW }}

Reply via email to