Skip to content

Commit

Permalink
feat: allow specifying custom Gradle tasks for service check
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler committed Dec 7, 2023
1 parent f265b2c commit 161be51
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/gradle-service-check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
on:
workflow_call:
inputs:
gradle-tasks:
description: Custom Gradle tasks to run
required: false
type: string
default: ''
java-version:
description: Java version to use for build
required: true
Expand Down Expand Up @@ -37,7 +42,7 @@ jobs:
check:
uses: ./.github/workflows/gradle-service.yml
with:
gradle-tasks: 'clean check dockerTagLatest'
gradle-tasks: ${{ inputs.gradle-tasks != '' && inputs.gradle-tasks || 'clean check dockerTagLatest' }}
java-version: ${{ inputs.java-version }}
image-tag: ${{ inputs.image-tag }}
image-tag-2: ${{ inputs.image-tag-2 }}
Expand Down

0 comments on commit 161be51

Please sign in to comment.