It turns out the repository is required for a plugin that the project
does not use. This commit removes the declaration and adapt CI
accordingly.

Closes gh-1813
This commit is contained in:
Stéphane Nicoll
2024-10-11 11:31:03 +02:00
parent 6151be43cd
commit bedb9493d1
6 changed files with 1 additions and 28 deletions

View File

@@ -20,12 +20,6 @@ inputs:
description: 'Java version to compile and test with'
required: false
default: '17'
opensource-repository-password:
description: 'Password for authentication with the open-source repository'
required: false
opensource-repository-username:
description: 'Username for authentication with the open-source repository'
required: false
publish:
description: 'Whether to publish artifacts ready for deployment to Artifactory'
required: false
@@ -52,17 +46,11 @@ runs:
id: build
if: ${{ inputs.publish == 'false' }}
shell: bash
env:
SPRING_REPOSITORY_PASSWORD: ${{ inputs.opensource-repository-password }}
SPRING_REPOSITORY_USERNAME: ${{ inputs.opensource-repository-username }}
run: ./gradlew check
- name: Publish
id: publish
if: ${{ inputs.publish == 'true' }}
shell: bash
env:
SPRING_REPOSITORY_PASSWORD: ${{ inputs.opensource-repository-password }}
SPRING_REPOSITORY_USERNAME: ${{ inputs.opensource-repository-username }}
run: ./gradlew -PdeploymentRepository=$(pwd)/deployment-repository build dist publishAllPublicationsToDeploymentRepository
- name: Read Version From gradle.properties
id: read-version