You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
because temporary directories can cause issues when this action is used
multiple times. A temporary directory created by previous action run can
cause a conflict with a subsequent action run.
`Fall back to x86_64 build because downloading Neovim for arm64 windows from ${url} failed: ${err}`,
193
193
);
194
-
returndownloadNeovim(version,os,'x86_64');
194
+
returnawaitdownloadNeovim(version,os,'x86_64');
195
195
}
196
196
197
197
letmsg=`Could not download Neovim release from ${url}: ${err.message}. Please visit https://github.com/neovim/neovim/releases/tag/${version} to check the asset for ${os} was really uploaded`;
198
198
if(version==='nightly'){
199
199
msg+=". Note that some assets are sometimes missing on nightly build due to Neovim's CI failure";
// Note that xcode-select command is not available since it changes Xcode version in system global.
86
-
env['DEVELOPER_DIR']=dir;
87
-
core.debug(`Building Vim older than 8.2.1119 on macOS with Xcode11 at ${dir} instead of the latest Xcode`);
88
-
}else{
89
-
core.warning(
90
-
`Building Vim older than 8.2.1119 on macOS needs Xcode11 but proper Xcode is not found at ${dir}. Using the latest Xcode as fallback. If you're using macos-latest or macos-12 runner and see some build error, try macos-11 runner`,
// Note that xcode-select command is not available since it changes Xcode version in system global.
88
+
env['DEVELOPER_DIR']=dir;
89
+
core.debug(
90
+
`Building Vim older than 8.2.1119 on macOS with Xcode11 at ${dir} instead of the latest Xcode`,
91
+
);
92
+
}else{
107
93
core.warning(
108
-
'This version of Vim has a bug where ./configure cannot find a terminal library correctly. See the following issue for more details: https://github.com/rhysd/action-setup-vim/issues/38',
94
+
`Building Vim older than 8.2.1119 on macOS needs Xcode11 but proper Xcode is not found at ${dir}. Using the latest Xcode as fallback. If you're using macos-latest or macos-12 runner and see some build error, try macos-11 runner`,
'This version of Vim has a bug where ./configure cannot find a terminal library correctly. See the following issue for more details: https://github.com/rhysd/action-setup-vim/issues/38',
113
+
);
114
+
}
115
+
throwerr;
116
+
}
117
+
}
118
+
awaitexec('make',['-j'],opts);
119
+
awaitexec('make',['install'],opts);
120
+
core.debug(`Built and installed Vim to ${installDir} (version=${version})`);
121
+
}finally{
122
+
awaittmpDir.cleanup();
113
123
}
114
-
awaitexec('make',['-j'],opts);
115
-
awaitexec('make',['install'],opts);
116
-
core.debug(`Built and installed Vim to ${installDir} (version=${version})`);
117
124
118
125
return{
119
126
executable: exeName(os),
@@ -181,10 +188,11 @@ export async function detectLatestWindowsReleaseTag(): Promise<string> {
0 commit comments