mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-06-07 00:36:12 +02:00
Added S3BucketCache
implementation
Signed-off-by: Guillermo Mazzola <guillermo.mazzola@glovoapp.com>
This commit is contained in:
parent
4ff2ffb7bf
commit
734fca3807
6 changed files with 2611 additions and 10 deletions
|
@ -25,6 +25,10 @@ export function isCacheCleanupEnabled(): boolean {
|
|||
return getBooleanInput('gradle-home-cache-cleanup')
|
||||
}
|
||||
|
||||
export function getCacheProvider(): string {
|
||||
return core.getInput('cache-provider') || 'github'
|
||||
}
|
||||
|
||||
export function getCacheIncludes(): string[] {
|
||||
return core.getMultilineInput('gradle-home-cache-includes')
|
||||
}
|
||||
|
@ -63,6 +67,14 @@ export function isJobSummaryEnabled(): boolean {
|
|||
return getBooleanInput('generate-job-summary', true)
|
||||
}
|
||||
|
||||
export function getAWSAccessKeyId(): string {
|
||||
return core.getInput('aws-access-key-id')
|
||||
}
|
||||
|
||||
export function getAWSSecretAccessKey(): string {
|
||||
return core.getInput('aws-secret-access-key')
|
||||
}
|
||||
|
||||
function getBooleanInput(paramName: string, paramDefault = false): boolean {
|
||||
const paramValue = core.getInput(paramName)
|
||||
switch (paramValue.toLowerCase().trim()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue