Skip to content

Commit

Permalink
rename utils/utils.ts to constants.ts (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Sep 7, 2024
1 parent 417c97a commit b463f5b
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 29 deletions.
44 changes: 22 additions & 22 deletions dist/setup/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions dist/update-known-checksums/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/download/download-latest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as exec from "@actions/exec";
import * as path from "path";
import { Architecture, Platform } from "../utils/platforms";
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(
platform: Platform,
Expand Down
2 changes: 1 addition & 1 deletion src/download/download-version.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as core from "@actions/core";
import * as tc from "@actions/tool-cache";
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 { validateChecksum } from "./checksum/checksum";

Expand Down
2 changes: 1 addition & 1 deletion src/update-known-checksums.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as github from "@actions/github";
import * as core from "@actions/core";

import { OWNER, REPO } from "./utils/utils";
import { OWNER, REPO } from "./utils/constants";
import * as semver from "semver";

import { updateChecksums } from "./download/checksum/update-known-checksums";
Expand Down
File renamed without changes.

0 comments on commit b463f5b

Please sign in to comment.