Skip to content

Commit a0a352c

Browse files
committed
Use ZipArchive instead of archive("zip")
1 parent 4138e5a commit a0a352c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/debug-artifacts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as path from "path";
44
import * as artifact from "@actions/artifact";
55
import * as artifactLegacy from "@actions/artifact-legacy";
66
import * as core from "@actions/core";
7-
import archiver from "archiver";
7+
import { ZipArchive } from "archiver";
88

99
import { getOptionalInput, getTemporaryDirectory } from "./actions-util";
1010
import { dbIsFinalized } from "./analyze";
@@ -397,7 +397,7 @@ async function createPartialDatabaseBundle(
397397
await fs.promises.rm(databaseBundlePath, { force: true });
398398
}
399399
const output = fs.createWriteStream(databaseBundlePath);
400-
const zip = archiver("zip");
400+
const zip = new ZipArchive();
401401

402402
zip.on("error", (err) => {
403403
throw err;

0 commit comments

Comments
 (0)