fix: extract two times for custom urls

This commit is contained in:
xHyroM 2022-07-28 09:19:39 +02:00
parent 1e0686b2cc
commit 38a9038faf
2 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,7 @@ const main = async() => {
info(`Going to install release ${release.version}`);
await install(release, token, customDownloadUrl === null);
await install(release, token, customDownloadUrl !== null);
setOutput('bun-version', release.tag_name);
} catch(e) {

View File

@ -5,7 +5,6 @@ import { addPath, info } from '@actions/core';
import getAsset from './getAsset.js';
import { join } from 'path';
import { homedir } from 'os';
import { readdirSync } from 'fs';
export default async(release: Release, token: string, customUrl: boolean) => {
const asset = getAsset(release.assets);