mirror of https://github.com/dapr/java-sdk.git
				
				
				
			ci: Do not run tests on publish step
Signed-off-by: Javier Aliaga <javier@diagrid.io>
This commit is contained in:
		
							parent
							
								
									9505baf73f
								
							
						
					
					
						commit
						ee523f0cc1
					
				| 
						 | 
				
			
			@ -190,14 +190,11 @@ jobs:
 | 
			
		|||
        if: startswith(github.ref, 'refs/tags/v') && !contains(env.PARENT_VERSION, '-SNAPSHOT')
 | 
			
		||||
        run: |
 | 
			
		||||
          echo "DEPLOY_OSSRH=true" >> $GITHUB_ENV
 | 
			
		||||
      - name: Install jars
 | 
			
		||||
        if: env.DEPLOY_OSSRH == 'true'
 | 
			
		||||
        run: ./mvnw install -DskipTests -B -q
 | 
			
		||||
      - name: Publish to ossrh
 | 
			
		||||
        if: env.DEPLOY_OSSRH == 'true'
 | 
			
		||||
        run: |
 | 
			
		||||
          echo ${{ secrets.GPG_PRIVATE_KEY }} | base64 -d > private-key.gpg
 | 
			
		||||
          export GPG_TTY=$(tty)
 | 
			
		||||
          gpg --batch --import private-key.gpg
 | 
			
		||||
          ./mvnw -V -B -Dgpg.skip=false -s settings.xml deploy
 | 
			
		||||
          ./mvnw -V -B -Dgpg.skip=false -DskipTests -s settings.xml deploy
 | 
			
		||||
          curl -X POST https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/io.dapr
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue