mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-16 23:51:16 +01:00
Removed comment
This commit is contained in:
parent
f9ae5e0028
commit
b388bcadaf
3 changed files with 0 additions and 3 deletions
1
dist/save-only/index.js
vendored
1
dist/save-only/index.js
vendored
|
@ -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
1
dist/save/index.js
vendored
|
@ -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}`);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue