rename utils/utils.ts to constants.ts (#59)

This commit is contained in:
Kevin Stillhammer 2024-09-07 14:13:50 +02:00 committed by GitHub
parent 417c97acee
commit b463f5b8ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 3 additions and 3 deletions

BIN
dist/setup/index.js generated vendored

Binary file not shown.

BIN
dist/update-known-checksums/index.js generated vendored

Binary file not shown.

View File

@ -4,7 +4,7 @@ import * as exec from "@actions/exec";
import * as path from "path"; import * as path from "path";
import { Architecture, Platform } from "../utils/platforms"; import { Architecture, Platform } from "../utils/platforms";
import { validateChecksum } from "./checksum/checksum"; import { validateChecksum } from "./checksum/checksum";
import { OWNER, REPO, TOOL_CACHE_NAME } from "../utils/utils"; import { OWNER, REPO, TOOL_CACHE_NAME } from "../utils/constants";
export async function downloadLatest( export async function downloadLatest(
platform: Platform, platform: Platform,

View File

@ -1,7 +1,7 @@
import * as core from "@actions/core"; import * as core from "@actions/core";
import * as tc from "@actions/tool-cache"; import * as tc from "@actions/tool-cache";
import * as path from "path"; import * as path from "path";
import { OWNER, REPO, TOOL_CACHE_NAME } from "../utils/utils"; import { OWNER, REPO, TOOL_CACHE_NAME } from "../utils/constants";
import { Architecture, Platform } from "../utils/platforms"; import { Architecture, Platform } from "../utils/platforms";
import { validateChecksum } from "./checksum/checksum"; import { validateChecksum } from "./checksum/checksum";

View File

@ -1,7 +1,7 @@
import * as github from "@actions/github"; import * as github from "@actions/github";
import * as core from "@actions/core"; import * as core from "@actions/core";
import { OWNER, REPO } from "./utils/utils"; import { OWNER, REPO } from "./utils/constants";
import * as semver from "semver"; import * as semver from "semver";
import { updateChecksums } from "./download/checksum/update-known-checksums"; import { updateChecksums } from "./download/checksum/update-known-checksums";