Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Feb 10, 2024
1 parent fe290c4 commit 5f7d0b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ const workflowCache = core.getBooleanInput("cache");
const keyPrefix = `fontist-${version}-${process.env.RUNNER_OS}`
const installationKey = `${keyPrefix}-installation`;

if (!found) {
if (found) {
core.info(`Fontist v${version} found in tool cache!`);
} else {
core.info(`Fontist v${version} not found in tool cache.`);

const tempDir = join(process.env.RUNNER_TEMP!, Math.random().toString());
Expand Down

0 comments on commit 5f7d0b8

Please sign in to comment.