1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-12-23 12:36:01 +01:00

Removed comment

This commit is contained in:
Sankalp Kotewar 2022-12-21 08:19:27 +00:00 committed by GitHub
parent f9ae5e0028
commit b388bcadaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 3 deletions

View file

@ -41149,7 +41149,6 @@ function saveImpl(stateProvider) {
cacheId = yield cache.saveCache(cachePaths, primaryKey, { cacheId = yield cache.saveCache(cachePaths, primaryKey, {
uploadChunkSize: utils.getInputAsInt(constants_1.Inputs.UploadChunkSize) uploadChunkSize: utils.getInputAsInt(constants_1.Inputs.UploadChunkSize)
}); });
// -1 refers to cache not saved
if (cacheId != -1) { if (cacheId != -1) {
core.info(`Cache saved with key: ${primaryKey}`); core.info(`Cache saved with key: ${primaryKey}`);
} }

1
dist/save/index.js vendored
View file

@ -41093,7 +41093,6 @@ function saveImpl(stateProvider) {
cacheId = yield cache.saveCache(cachePaths, primaryKey, { cacheId = yield cache.saveCache(cachePaths, primaryKey, {
uploadChunkSize: utils.getInputAsInt(constants_1.Inputs.UploadChunkSize) uploadChunkSize: utils.getInputAsInt(constants_1.Inputs.UploadChunkSize)
}); });
// -1 refers to cache not saved
if (cacheId != -1) { if (cacheId != -1) {
core.info(`Cache saved with key: ${primaryKey}`); core.info(`Cache saved with key: ${primaryKey}`);
} }

View file

@ -56,7 +56,6 @@ async function saveImpl(stateProvider: IStateProvider): Promise<number | void> {
uploadChunkSize: utils.getInputAsInt(Inputs.UploadChunkSize) uploadChunkSize: utils.getInputAsInt(Inputs.UploadChunkSize)
}); });
// -1 refers to cache not saved
if (cacheId != -1) { if (cacheId != -1) {
core.info(`Cache saved with key: ${primaryKey}`); core.info(`Cache saved with key: ${primaryKey}`);
} }