mirror of
https://github.com/actions/setup-dotnet.git
synced 2026-07-21 10:11:09 +00:00
Migrate to ESM and upgrade dependencies (#752)
* Migrate to ESM and upgrade dependencies * Address review: use type-only import for QualityOptions * update version to 6.0.0 in package.json and package-lock.json * Add ESM migration note to README for V6 * Update test imports for ESM and clean up devDependencies (ts-node, @types/jest) * Pin @types/node to 24.x and refine tsconfig/README wording
This commit is contained in:
@@ -4,8 +4,8 @@ import * as cache from '@actions/cache';
|
||||
import * as core from '@actions/core';
|
||||
import * as glob from '@actions/glob';
|
||||
|
||||
import {getNuGetFolderPath} from './cache-utils';
|
||||
import {lockFilePatterns, State, Outputs} from './constants';
|
||||
import {getNuGetFolderPath} from './cache-utils.js';
|
||||
import {lockFilePatterns, State, Outputs} from './constants.js';
|
||||
|
||||
export const restoreCache = async (cacheDependencyPath?: string) => {
|
||||
const lockFilePath = cacheDependencyPath || (await findLockFile());
|
||||
|
||||
Reference in New Issue
Block a user