mirror of
https://github.com/actions/cache.git
synced 2024-12-26 11:33:05 +07:00
Update restore.ts
This commit is contained in:
parent
f2d5621efc
commit
626c44ce85
@ -4,11 +4,6 @@ import * as core from "@actions/core";
|
|||||||
import { Events, Inputs, State } from "./constants";
|
import { Events, Inputs, State } from "./constants";
|
||||||
import * as utils from "./utils/actionUtils";
|
import * as utils from "./utils/actionUtils";
|
||||||
|
|
||||||
interface RestoreError {
|
|
||||||
name: string;
|
|
||||||
message: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
async function run(): Promise<void> {
|
async function run(): Promise<void> {
|
||||||
try {
|
try {
|
||||||
if (!utils.isCacheFeatureAvailable()) {
|
if (!utils.isCacheFeatureAvailable()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user