File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,13 @@ jobs:
169169 if : ${{ steps.deploy-location.outputs.deploy_location == 'central' }}
170170 shell : bash
171171 run : |
172- ./gradlew -PdeploymentRepository=$(pwd)/deployment-repository :spring-pulsar-docs:publishAllPublicationsToDeploymentRepository
172+ ./gradlew \
173+ -PdeploymentRepository=$(pwd)/deployment-repository \
174+ -PforceLocalPublish=true \
175+ :spring-pulsar-docs:publishAllPublicationsToDeploymentRepository \
176+ echo "deployRepo=$(pwd)/deployment-repository" >> $GITHUB_OUTPUT
177+ echo "ls -R $(pwd)/deployment-repository"
178+ ls -R $(pwd)/deployment-repository
173179 - name : Still publish docs module to Artifactory when deploy location is Central (publish)
174180 if : ${{ steps.deploy-location.outputs.deploy_location == 'central' }}
175181 uses : spring-io/artifactory-deploy-action@926d7f7cc810569395346bf3a4d91b380b3e355b # v0.0.4
Original file line number Diff line number Diff line change @@ -33,12 +33,10 @@ jobs:
3333 id : stage-spring-pulsar-docs
3434 shell : bash
3535 run : |
36- sed -i "s/version=2.0.1-SNAPSHOT/version=2.0.0/g" gradle.properties
37- cat gradle.properties
3836 ./gradlew \
39- -PdeploymentRepository=$(pwd)/deployment-repository \
40- -PforceLocalPublish=true \
41- :spring-pulsar-docs:publishAllPublicationsToDeploymentRepository
37+ -PdeploymentRepository=$(pwd)/deployment-repository \
38+ -PforceLocalPublish=true \
39+ :spring-pulsar-docs:publishAllPublicationsToDeploymentRepository
4240 echo "deployRepo=$(pwd)/deployment-repository" >> $GITHUB_OUTPUT
4341 echo "ls -R $(pwd)/deployment-repository"
4442 ls -R $(pwd)/deployment-repository
You can’t perform that action at this time.
0 commit comments