Add gradleOptions input for the ci-snapshot.yml
This commit is contained in:
7
.github/workflows/ci-snapshot.yml
vendored
7
.github/workflows/ci-snapshot.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user