diff --git a/.github/workflows/ci-snapshot.yml b/.github/workflows/ci-snapshot.yml index a21192cd2c..5dc0329c87 100644 --- a/.github/workflows/ci-snapshot.yml +++ b/.github/workflows/ci-snapshot.yml @@ -2,6 +2,11 @@ name: CI SNAPSHOT on: workflow_dispatch: + inputs: + gradleOptions: + description: 'The Gradle CLI options: tasks, properties etc.' + required: false + type: string push: branches: @@ -19,7 +24,7 @@ jobs: build-snapshot: uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-snapshot.yml@main with: - gradleTasks: ${{ github.event_name == 'schedule' && '--rerun-tasks' || '' }} + gradleTasks: ${{ github.event_name == 'schedule' && '--rerun-tasks --refresh-dependencies' || inputs.gradleOptions }} secrets: DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}