Skip to content

Commit

Permalink
Run cpack in build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
figi44 committed Nov 9, 2023
1 parent a01bea0 commit a791ecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
34 changes: 1 addition & 33 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/build-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ const cpack = async (
cpackOptionsParsed.push(...parseOptions(cpackOptions));
core.info(`==> cpackOptionsParsed: ${cpackOptionsParsed}`);
}

options.cwd = buildDir;
const exitCode = await exec.exec(
"env",
["cpack", "-G", cpackGenerator.toUpperCase(), ...cpackOptionsParsed],
Expand Down

0 comments on commit a791ecd

Please sign in to comment.