mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-19 04:58:25 +02:00
fix: dont fail
This commit is contained in:
parent
633e7abe1e
commit
37657f4f9f
7 changed files with 16 additions and 17 deletions
4
dist/utils/install.js
vendored
4
dist/utils/install.js
vendored
|
@ -4,8 +4,8 @@ import { addPath, info } from '@actions/core';
|
|||
import getAsset from './getAsset.js';
|
||||
import { join } from 'path';
|
||||
import { homedir } from 'os';
|
||||
export default async (release, miscTestBuilds) => {
|
||||
const asset = getAsset(release.assets, miscTestBuilds);
|
||||
export default async (release) => {
|
||||
const asset = getAsset(release.assets);
|
||||
const path = join(homedir(), '.bun', 'bin', asset.name);
|
||||
const cache = find('bun', release.version) || await restoreCache([path], `bun-${process.platform}-${asset.name}-${release.version}`);
|
||||
if (cache) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue