mirror of
https://gitee.com/jack_whh/actions-s3-caching.git
synced 2026-03-14 00:32:58 +08:00
bad '()' ?
This commit is contained in:
2
dist/restore/index.js
vendored
2
dist/restore/index.js
vendored
@@ -2587,7 +2587,7 @@ function getInputS3ClientConfig() {
|
|||||||
}
|
}
|
||||||
} : {
|
} : {
|
||||||
credentials: credential_provider_web_identity_1.fromTokenFile({
|
credentials: credential_provider_web_identity_1.fromTokenFile({
|
||||||
roleAssumerWithWebIdentity: client_sts_1.getDefaultRoleAssumerWithWebIdentity(),
|
roleAssumerWithWebIdentity: client_sts_1.getDefaultRoleAssumerWithWebIdentity,
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
const s3config = Object.assign(Object.assign({}, credentials), { region: core.getInput(constants_1.Inputs.AWSRegion), endpoint: core.getInput(constants_1.Inputs.AWSEndpoint), bucketEndpoint: core.getBooleanInput(constants_1.Inputs.AWSS3BucketEndpoint), forcePathStyle: core.getBooleanInput(constants_1.Inputs.AWSS3ForcePathStyle) });
|
const s3config = Object.assign(Object.assign({}, credentials), { region: core.getInput(constants_1.Inputs.AWSRegion), endpoint: core.getInput(constants_1.Inputs.AWSEndpoint), bucketEndpoint: core.getBooleanInput(constants_1.Inputs.AWSS3BucketEndpoint), forcePathStyle: core.getBooleanInput(constants_1.Inputs.AWSS3ForcePathStyle) });
|
||||||
|
|||||||
2
dist/save/index.js
vendored
2
dist/save/index.js
vendored
@@ -2587,7 +2587,7 @@ function getInputS3ClientConfig() {
|
|||||||
}
|
}
|
||||||
} : {
|
} : {
|
||||||
credentials: credential_provider_web_identity_1.fromTokenFile({
|
credentials: credential_provider_web_identity_1.fromTokenFile({
|
||||||
roleAssumerWithWebIdentity: client_sts_1.getDefaultRoleAssumerWithWebIdentity(),
|
roleAssumerWithWebIdentity: client_sts_1.getDefaultRoleAssumerWithWebIdentity,
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
const s3config = Object.assign(Object.assign({}, credentials), { region: core.getInput(constants_1.Inputs.AWSRegion), endpoint: core.getInput(constants_1.Inputs.AWSEndpoint), bucketEndpoint: core.getBooleanInput(constants_1.Inputs.AWSS3BucketEndpoint), forcePathStyle: core.getBooleanInput(constants_1.Inputs.AWSS3ForcePathStyle) });
|
const s3config = Object.assign(Object.assign({}, credentials), { region: core.getInput(constants_1.Inputs.AWSRegion), endpoint: core.getInput(constants_1.Inputs.AWSEndpoint), bucketEndpoint: core.getBooleanInput(constants_1.Inputs.AWSS3BucketEndpoint), forcePathStyle: core.getBooleanInput(constants_1.Inputs.AWSS3ForcePathStyle) });
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ export function getInputS3ClientConfig(): S3ClientConfig | undefined {
|
|||||||
}
|
}
|
||||||
} : {
|
} : {
|
||||||
credentials: fromTokenFile({
|
credentials: fromTokenFile({
|
||||||
roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(),
|
roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user