mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-04-25 04:44:30 +00:00
Bump biome to v2 (#515)
This commit is contained in:
parent
1463845d3c
commit
4109b4033f
27 changed files with 13393 additions and 10945 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import { promises as fs } from "node:fs";
|
||||
import { join } from "node:path";
|
||||
import * as core from "@actions/core";
|
||||
import * as semver from "semver";
|
||||
import { fetch } from "../utils/fetch";
|
||||
import { join } from "node:path";
|
||||
|
||||
const localManifestFile = join(__dirname, "..", "..", "version-manifest.json");
|
||||
|
||||
|
|
@ -79,11 +79,11 @@ export async function updateVersionManifest(
|
|||
}
|
||||
const artifactParts = artifactName.split(".")[0].split("-");
|
||||
manifest.push({
|
||||
version: version,
|
||||
artifactName: artifactName,
|
||||
arch: artifactParts[1],
|
||||
platform: artifactName.split(`uv-${artifactParts[1]}-`)[1].split(".")[0],
|
||||
artifactName: artifactName,
|
||||
downloadUrl: downloadUrl,
|
||||
platform: artifactName.split(`uv-${artifactParts[1]}-`)[1].split(".")[0],
|
||||
version: version,
|
||||
});
|
||||
}
|
||||
core.debug(`Updating manifest-file: ${JSON.stringify(manifest)}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue