use highlevel actions cache api

This commit is contained in:
Sergey Dolin
2023-07-05 10:37:35 +02:00
parent 56c9f4224b
commit 19f709fe58
9 changed files with 76 additions and 355 deletions

View File

@@ -3,8 +3,12 @@ import fs from 'fs';
import path from 'path';
import os from 'os';
import * as core from '@actions/core';
import {uploadFileToActionsCache} from '../actions-cache/upload';
import {downloadFileFromActionsCache} from '../actions-cache/download';
import {downloadFileFromActionsCache} from '../actions-cache-hilevel/download';
import {uploadFileToActionsCache} from '../actions-cache-hilevel/upload';
/*
import {uploadFileToActionsCache} from '../actions-cache-internal/upload';
import {downloadFileFromActionsCache} from '../actions-cache-internal/download';
*/
const CACHE_KEY = '_state';
const CACHE_VERSION = '1';