Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
yusancky authored Feb 5, 2024
1 parent 9ae36e4 commit ca6bb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const cachePackage = core.getInput("cache-dependency-path");
if (cachePackage) {
if (fs.existsSync(cachePackage)) {
const cacheDir = {
linux: () => join(xdgCache!, "typst/packages"),
linux: () => join(process.env.XDG_CACHE_HOME!, "typst/packages"),
darwin: () => join(process.env.HOME!, "Library/Caches", "typst/packages"),
win32: () => join(process.env.LOCALAPPDATA!, "typst/packages")
}[process.platform as string]!();
Expand Down

0 comments on commit ca6bb9e

Please sign in to comment.