From 3893b075446fd924293c5a44fde9c0ec416148f5 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 2662373..b3c26bf 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);