mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-28 09:36:07 +00:00
Add osVersion parameter based on ImageOS env variable
This commit is contained in:
+2
-2
@@ -22,9 +22,9 @@ async function installElixir(version, otpMajor) {
|
||||
*
|
||||
* @param {string} version
|
||||
*/
|
||||
async function installOTP(version) {
|
||||
async function installOTP(version, osVersion) {
|
||||
if (process.platform === 'linux') {
|
||||
await exec(path.join(__dirname, 'install-otp'), [version])
|
||||
await exec(path.join(__dirname, 'install-otp'), [version, osVersion])
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user