Added S3BucketCache implementation

Signed-off-by: Guillermo Mazzola <guillermo.mazzola@glovoapp.com>
This commit is contained in:
Guillermo Mazzola 2023-06-27 15:31:38 +02:00
parent 4ff2ffb7bf
commit 734fca3807
No known key found for this signature in database
GPG key ID: 6A17887FBC885E08
6 changed files with 2611 additions and 10 deletions

View file

@ -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()) {