reflect changes to the dist dir

This commit is contained in:
Kengo TODA 2021-07-13 09:33:40 +08:00
parent 945940ebfb
commit 0591f86118
2 changed files with 4 additions and 10 deletions

View file

@ -64612,14 +64612,11 @@ function save(id) {
core.info(`Cache saved with the key: ${primaryKey}`); core.info(`Cache saved with the key: ${primaryKey}`);
} }
catch (error) { catch (error) {
if (error.name === cache.ValidationError.name) { if (error.name === cache.ReserveCacheError.name) {
throw error;
}
else if (error.name === cache.ReserveCacheError.name) {
core.info(error.message); core.info(error.message);
} }
else { else {
core.warning(error.message); throw error;
} }
} }
}); });

7
dist/setup/index.js vendored
View file

@ -19008,14 +19008,11 @@ function save(id) {
core.info(`Cache saved with the key: ${primaryKey}`); core.info(`Cache saved with the key: ${primaryKey}`);
} }
catch (error) { catch (error) {
if (error.name === cache.ValidationError.name) { if (error.name === cache.ReserveCacheError.name) {
throw error;
}
else if (error.name === cache.ReserveCacheError.name) {
core.info(error.message); core.info(error.message);
} }
else { else {
core.warning(error.message); throw error;
} }
} }
}); });