mirror of
https://github.com/actions/setup-go.git
synced 2025-07-17 04:25:14 -06:00
Format files according to Prettier rules and build
This commit is contained in:
parent
25a133c257
commit
53f5d5ec02
7 changed files with 120128 additions and 6377 deletions
|
@ -12,16 +12,14 @@ import {
|
|||
} from './cache-utils';
|
||||
|
||||
export const restoreCache = async (
|
||||
packageManager: string,
|
||||
cacheDependencyPath?: string
|
||||
packageManager: string,
|
||||
cacheDependencyPath?: string
|
||||
) => {
|
||||
const packageManagerInfo = await getPackageManagerInfo();
|
||||
const platform = process.env.RUNNER_OS;
|
||||
|
||||
const cachePath = await getCacheDirectoryPath(
|
||||
packageManagerInfo
|
||||
);
|
||||
|
||||
const cachePath = await getCacheDirectoryPath(packageManagerInfo);
|
||||
|
||||
const goSumFilePath = cacheDependencyPath
|
||||
? cacheDependencyPath
|
||||
: findGoSumFile(packageManagerInfo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue