Skip to content

Commit 8de1bdc

Browse files
committed
ci: fix
1 parent 2843648 commit 8de1bdc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ jobs:
5959
run: npx semantic-release --dry-run --branches 9520_gha # Uncomment for testing purposes
6060

6161
- name: Publish to Maven Central
62-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
6362
env:
6463
TRAVIS_TAG: ${{ github.event.release.tag_name }} # for setMavenVersion
64+
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} # for .travis.settings.xml
65+
OSSRH_PASSWORD: ${{ secrets.OSSRH_USERNAME }}
6566
run: |
6667
build/setupSigning.sh
6768
build/setMavenVersion.sh

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Watson APIs Java SDK
2-
[![Build and Test](https://github.com/watson-developer-cloud/java-sdk/workflows/Build%20and%20Test/badge.svg?branch=master)](https://github.com/watson-developer-cloud/java-sdk/actions?query=workflow%3A"Build+and+Test")
3-
[![Deploy and Publish](https://github.com/watson-developer-cloud/java-sdk/workflows/Deploy%20and%20Publish/badge.svg?branch=master)](https://github.com/watson-developer-cloud/java-sdk/actions?query=workflow%3A%22Deploy+and+Publish%22)
2+
[![Build and Test](https://github.com/watson-developer-cloud/java-sdk/actions/workflows/build-test.yml/badge.svg)](https://github.com/watson-developer-cloud/java-sdk/actions/workflows/build-test.yml)
3+
[![Deploy and Publish](https://github.com/watson-developer-cloud/java-sdk/actions/workflows/deploy.yml/badge.svg)](https://github.com/watson-developer-cloud/java-sdk/actions/workflows/deploy.yml)
44
[![Slack](https://wdc-slack-inviter.mybluemix.net/badge.svg)](https://wdc-slack-inviter.mybluemix.net)
55
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.ibm.watson/ibm-watson/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.ibm.watson/ibm-watson)
66
[![CLA assistant](https://cla-assistant.io/readme/badge/watson-developer-cloud/java-sdk)](https://cla-assistant.io/watson-developer-cloud/java-sdk)

0 commit comments

Comments
 (0)