mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
ci: test
This commit is contained in:
parent
822557a5e4
commit
3893b07544
1 changed files with 2 additions and 1 deletions
|
@ -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<Output> => {
|
||||
const bunfigPath = join(homedir(), ".bunfig.toml");
|
||||
const bunfigPath = join(cwd(), "bunfig.toml");
|
||||
writeBunfig(bunfigPath, options.registries);
|
||||
|
||||
const url = getDownloadUrl(options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue