Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Dec 12, 2024
1 parent de8fc75 commit 3822e41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -43,7 +44,7 @@ export type CacheState = {
};

export default async (options: Input): Promise<Output> => {
const bunfigPath = join(homedir(), ".bunfig.toml");
const bunfigPath = join(cwd(), "bunfig.toml");
writeBunfig(bunfigPath, options.registries);

const url = getDownloadUrl(options);
Expand Down

0 comments on commit 3822e41

Please sign in to comment.