Skip to content

Commit b2afee3

Browse files
authored
Fix spring-artifactory-gradle-build action to use gradlew
The action currently uses `gradle` which leads to the call of Gradle installation locally. However, the project might not be compatible with that Gradle version. * Use `gradlew` instead to rely on the wrapper in the project. Signed-off-by: Artem Bilan <[email protected]>
1 parent 0617909 commit b2afee3

File tree

1 file changed

+1
-1
lines changed
  • .github/actions/spring-artifactory-gradle-build

1 file changed

+1
-1
lines changed

.github/actions/spring-artifactory-gradle-build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ runs:
7171
cp .github/spring-github-workflows/utils/*.gradle $HOME/.gradle/init.d
7272
7373
# See utils/deployment-repository-init.gradle
74-
gradle clean build ${{ inputs.gradleTasks }} publishAllPublicationsToDeploymentRepository
74+
./gradlew clean build ${{ inputs.gradleTasks }} publishAllPublicationsToDeploymentRepository
7575
env:
7676
ARTIFACTORY_USERNAME: ${{ inputs.artifactoryUsername }}
7777
ARTIFACTORY_PASSWORD: ${{ inputs.artifactoryPassword }}

0 commit comments

Comments
 (0)