Fix armv7 cache issue (#794)
parent
ef9c88b169
commit
e2d34eacc8
|
@ -71675,7 +71675,7 @@ class BaseDistribution {
|
|||
return version;
|
||||
}
|
||||
findVersionInHostedToolCacheDirectory() {
|
||||
return tc.find('node', this.nodeInfo.versionSpec, this.nodeInfo.arch);
|
||||
return tc.find('node', this.nodeInfo.versionSpec, this.translateArchToDistUrl(this.nodeInfo.arch));
|
||||
}
|
||||
getNodeJsVersions() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
|
|
|
@ -88,7 +88,11 @@ 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[]> {
|
||||
|
|
Loading…
Reference in New Issue