mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-12-23 11:52:22 +08:00
Add dependency-graph-continue-on-failure input param
- Translate to env var for init-script support - Use when deciding whether to log or rethrow errors - Add a custom error type to trigger failure in post action
This commit is contained in:
@@ -107,6 +107,10 @@ export function getDependencyGraphOption(): DependencyGraphOption {
|
||||
)
|
||||
}
|
||||
|
||||
export function getDependencyGraphContinueOnFailure(): boolean {
|
||||
return getBooleanInput('dependency-graph-continue-on-failure', true)
|
||||
}
|
||||
|
||||
export function getArtifactRetentionDays(): number {
|
||||
const val = core.getInput('artifact-retention-days')
|
||||
return parseNumericInput('artifact-retention-days', val, 0)
|
||||
|
||||
Reference in New Issue
Block a user