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')
|
if: startswith(github.ref, 'refs/tags/v') && !contains(env.PARENT_VERSION, '-SNAPSHOT')
|
||||||
run: |
|
run: |
|
||||||
echo "DEPLOY_OSSRH=true" >> $GITHUB_ENV
|
echo "DEPLOY_OSSRH=true" >> $GITHUB_ENV
|
||||||
- name: Install jars
|
|
||||||
if: env.DEPLOY_OSSRH == 'true'
|
|
||||||
run: ./mvnw install -DskipTests -B -q
|
|
||||||
- name: Publish to ossrh
|
- name: Publish to ossrh
|
||||||
if: env.DEPLOY_OSSRH == 'true'
|
if: env.DEPLOY_OSSRH == 'true'
|
||||||
run: |
|
run: |
|
||||||
echo ${{ secrets.GPG_PRIVATE_KEY }} | base64 -d > private-key.gpg
|
echo ${{ secrets.GPG_PRIVATE_KEY }} | base64 -d > private-key.gpg
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
gpg --batch --import private-key.gpg
|
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
|
curl -X POST https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/io.dapr
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue