Skip to content

Commit 3ab8c5e

Browse files
Artefacts on develop shall also be signed.
1 parent e295386 commit 3ab8c5e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,11 @@ jobs:
2929
env:
3030
SONARQUBE_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
3131
SONARQUBE_HOST_URL: ${{ vars.SONARQUBE_HOST_URL }}
32-
- name: Deployment release
33-
if: ( github.repository == 'Hipparchus-Math/hipparchus' ) && ( startsWith( github.ref, 'refs/heads/release-' ) )
32+
- name: Deployment
33+
if: ( github.repository == 'Hipparchus-Math/hipparchus' ) && ( ( github.ref == 'refs/heads/develop' ) || startsWith( github.ref, 'refs/heads/release-' ) )
3434
run: mvn -B -U -f pom.xml -s .CI/maven-settings.xml deploy -DskipTests=true -Prelease,ci-deploy
3535
env:
3636
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
3737
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
3838
MAVEN_GPG_KEY: ${{ secrets.MAVEN_GPG_KEY }}
3939
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
40-
- name: Deployment snapshot
41-
if: ( github.repository == 'Hipparchus-Math/hipparchus' ) && ( ( github.ref == 'refs/heads/develop' ) )
42-
run: mvn -B -U -f pom.xml -s .CI/maven-settings.xml deploy -DskipTests=true -Pci-deploy
43-
env:
44-
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
45-
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}

0 commit comments

Comments
 (0)