From 3822e41ec5a5617112e506a48b05b92f7f4f5ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Thu, 12 Dec 2024 18:35:20 +0100 Subject: [PATCH] ci: test --- src/action.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/action.ts b/src/action.ts index 608d57c..9dadc32 100644 --- a/src/action.ts +++ b/src/action.ts @@ -15,6 +15,7 @@ import { getExecOutput } from "@actions/exec"; import { writeBunfig, Registry } from "./bunfig"; import { saveState } from "@actions/core"; import { addExtension, retry } from "./utils"; +import { cwd } from "node:process"; export type Input = { customUrl?: string; @@ -43,7 +44,7 @@ export type CacheState = { }; export default async (options: Input): Promise => { - const bunfigPath = join(homedir(), ".bunfig.toml"); + const bunfigPath = join(cwd(), "bunfig.toml"); writeBunfig(bunfigPath, options.registries); const url = getDownloadUrl(options);