Added setting to configure gradle task for java pr check template.

This commit is contained in:
Stanislav Melnichuk 2023-06-07 11:00:42 +03:00
parent 0d72624644
commit fe115184a0
1 changed files with 6 additions and 1 deletions

View File

@ -16,6 +16,11 @@ on:
description: 'Базовый путь для секретов проекта в vault'
required: false
type: string
gradle_check_command:
description: 'Команда для исполнения в gradle'
default: 'test'
required: false
type: string
sonar_enabled:
default: false
required: false
@ -42,7 +47,7 @@ jobs:
cache-read-only: ${{ gitea.ref != 'refs/heads/master' && gitea.ref != 'refs/heads/develop' }}
- name: run gradle check
run: ./gradlew test -i -s
run: ./gradlew ${{ inputs.gradle_check_command }} -i -s
- id: import-secrets
if: ${{ inputs.sonar_enabled }}