refactor!: Rename NextflowRelease.allBinaryURL to NextflowRelease.downloadUrlAll

Another API consistency update.
pull/77/head
parent 4049d10c6d
commit fe7784be92

@ -27,7 +27,7 @@ export async function install_nextflow(
release: NextflowRelease,
get_all: boolean
): Promise<string> {
const url = get_all ? release.allBinaryURL : release.downloadUrl
const url = get_all ? release.downloadUrlAll : release.downloadUrl
const version = release.version
core.debug(`Downloading Nextflow from ${url}`)

@ -5,7 +5,7 @@ export type NextflowRelease = {
version: string
isEdge: boolean
downloadUrl: string
allBinaryURL: string
downloadUrlAll: string
published_at?: string
}
@ -19,7 +19,7 @@ export function nextflow_release(data: object): NextflowRelease {
version: data["tag_name"],
isEdge: data["prerelease"],
downloadUrl: nextflow_bin_url(data, false),
allBinaryURL: nextflow_bin_url(data, true)
downloadUrlAll: nextflow_bin_url(data, true)
}
return nf_release
}

Loading…
Cancel
Save