File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff 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 }}
You can’t perform that action at this time.
0 commit comments