language: java
install :
  - mvn clean install -DskipTests
  - mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.1.0-SNAPSHOT:setup-sdk -DbatchAnswers=n
deploy:
  provider: script
  script: ./deploy.sh
  skip_cleanup: true
  on:
    tags: true

language: java
install :
  - mvn clean install -DskipTests
  - mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.1.1:setup-sdk -DbatchAnswers=n
deploy:
  provider: script
  script: ./deploy.sh
  skip_cleanup: true
  on:
    tags: true

Set setup-sdk version to 3.1.1
Set setup-sdk version to 3.1.1