Skip to content

Commit

Permalink
Fixed extract folder issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bayrakmustafa committed Mar 11, 2024
1 parent ce84705 commit 87a813d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/setup-codesigner/codesigner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class CodeSigner {
if (!existsSync(archivePath)) {
core.info(`Downloading CodeSignTool from ${link}`);
const downloadedFile = await tc.downloadTool(link);
await extractZip(downloadedFile, codesigner);
await extractZip(downloadedFile, path.join(codesigner, CODESIGNTOOL_BASEPATH));
core.info(`Extract CodeSignTool from download path ${downloadedFile} to ${codesigner}`);

const archiveName = fs.readdirSync(codesigner)[0];
Expand Down

0 comments on commit 87a813d

Please sign in to comment.