1
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2025-07-10 21:00:46 +00:00

Use @actions/glob for pattern matching

This commit is contained in:
Ethan Dennis 2020-03-05 12:12:12 -08:00
parent 1e233443e8
commit db235cfc56
No known key found for this signature in database
GPG key ID: 32E74B75DB4065DD
12 changed files with 4427 additions and 176 deletions

View file

@ -4,7 +4,6 @@ import * as cacheHttpClient from "./cacheHttpClient";
import { Events, Inputs, State } from "./constants";
import { createTar } from "./tar";
import * as utils from "./utils/actionUtils";
import * as pathUtils from "./utils/pathUtils";
async function run(): Promise<void> {
try {
@ -44,7 +43,7 @@ async function run(): Promise<void> {
return;
}
core.debug(`Cache ID: ${cacheId}`);
const cachePaths = pathUtils.expandPaths(
const cachePaths = await utils.expandPaths(
core
.getInput(Inputs.Path)
.split("\n")