Fix armv7 cache issue

This commit is contained in:
Louis Lam 2023-07-05 02:09:21 +08:00
parent e33196f742
commit 6ca7a3375d

View file

@ -88,7 +88,7 @@ export default abstract class BaseDistribution {
}
protected findVersionInHostedToolCacheDirectory() {
return tc.find('node', this.nodeInfo.versionSpec, this.nodeInfo.arch);
return tc.find('node', this.nodeInfo.versionSpec, this.translateArchToDistUrl(this.nodeInfo.arch));
}
protected async getNodeJsVersions(): Promise<INodeVersion[]> {