Skip to content

Commit ee523f0

Browse files
committed
ci: Do not run tests on publish step
Signed-off-by: Javier Aliaga <[email protected]>
1 parent 9505baf commit ee523f0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,11 @@ jobs:
190190
if: startswith(github.ref, 'refs/tags/v') && !contains(env.PARENT_VERSION, '-SNAPSHOT')
191191
run: |
192192
echo "DEPLOY_OSSRH=true" >> $GITHUB_ENV
193-
- name: Install jars
194-
if: env.DEPLOY_OSSRH == 'true'
195-
run: ./mvnw install -DskipTests -B -q
196193
- name: Publish to ossrh
197194
if: env.DEPLOY_OSSRH == 'true'
198195
run: |
199196
echo ${{ secrets.GPG_PRIVATE_KEY }} | base64 -d > private-key.gpg
200197
export GPG_TTY=$(tty)
201198
gpg --batch --import private-key.gpg
202-
./mvnw -V -B -Dgpg.skip=false -s settings.xml deploy
199+
./mvnw -V -B -Dgpg.skip=false -DskipTests -s settings.xml deploy
203200
curl -X POST https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/io.dapr

0 commit comments

Comments
 (0)