mirror of
https://github.com/actions/cache.git
synced 2024-12-25 11:03:04 +07:00
Fix macOs-latest test
This commit is contained in:
parent
7ccdf5c70d
commit
08438313d5
@ -96,7 +96,7 @@ test("create BSD tar", async () => {
|
|||||||
const workspace = process.env["GITHUB_WORKSPACE"];
|
const workspace = process.env["GITHUB_WORKSPACE"];
|
||||||
const sourceDirectories = ["~/.npm/cache", `${workspace}/dist`];
|
const sourceDirectories = ["~/.npm/cache", `${workspace}/dist`];
|
||||||
|
|
||||||
await fs.mkdir(archiveFolder, () => void { recursive: true });
|
await fs.promises.mkdir(archiveFolder, { recursive: true });
|
||||||
|
|
||||||
await tar.createTar(archiveFolder, sourceDirectories);
|
await tar.createTar(archiveFolder, sourceDirectories);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user