mirror of
https://code.forgejo.org/actions/setup-go
synced 2025-06-10 20:42:22 +02:00
fix(): cache resolve version input (#267)
This commit is contained in:
parent
f556e5b7e0
commit
c4a742cab1
4 changed files with 20 additions and 8 deletions
|
@ -9,12 +9,12 @@ import {PackageManagerInfo} from './package-managers';
|
|||
import {getCacheDirectoryPath, getPackageManagerInfo} from './cache-utils';
|
||||
|
||||
export const restoreCache = async (
|
||||
versionSpec: string,
|
||||
packageManager: string,
|
||||
cacheDependencyPath?: string
|
||||
) => {
|
||||
const packageManagerInfo = await getPackageManagerInfo(packageManager);
|
||||
const platform = process.env.RUNNER_OS;
|
||||
const versionSpec = core.getInput('go-version');
|
||||
|
||||
const cachePaths = await getCacheDirectoryPath(packageManagerInfo);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue