neiam /action-setup-beam
action-setup-beam
public · Issues · Pulls · Labels · Forks · Compare · Actions queued
⭐
Log in to mark this repository.
Fix post -main-merge issue (#213)
61e01a4 · Paulo F. Oliveira · 2023-06-21 20:08
Files changed
modified
dist/index.js
+4
−3
@@ -9750,7 +9750,7 @@ async function installOTP(osVersion, otpVersion, hexMirrors) {
| 9750 | 9750 | core.addPath(otpPath) |
| 9751 | 9751 | core.exportVariable('INSTALL_DIR_FOR_OTP', cachedPath) |
| 9752 | 9752 | |
| 9753 | − console.log('Installed Erlang/OTP version') | |
| 9753 | + core.info('Installed Erlang/OTP version') | |
| 9754 | 9754 | await exec(path.join(otpPath, 'erl'), ['-version']) |
| 9755 | 9755 | } else if (OS === 'win32') { |
| 9756 | 9756 | if (!cachedPath) { |
@@ -9770,7 +9770,7 @@ async function installOTP(osVersion, otpVersion, hexMirrors) {
| 9770 | 9770 | core.addPath(otpPath) |
| 9771 | 9771 | core.exportVariable('INSTALL_DIR_FOR_OTP', otpDir) |
| 9772 | 9772 | |
| 9773 | − console.log('Installed Erlang/OTP version') | |
| 9773 | + core.info('Installed Erlang/OTP version') | |
| 9774 | 9774 | await exec(path.join(otpPath, 'erl'), ['+V']) |
| 9775 | 9775 | } |
| 9776 | 9776 | } catch (err) { |
@@ -10082,7 +10082,8 @@ async function getElixirVersion(exSpec0, otpVersion0, hexMirrors) {
| 10082 | 10082 | throw new Error( |
| 10083 | 10083 | `Requested Elixir / Erlang/OTP version (${exSpec0} / ${otpVersion0}) not ` + |
| 10084 | 10084 | 'found in version list (did you check Compatibility between Elixir and Erlang/OTP?).' + |
| 10085 | − 'Elixir and Erlang/OTP compatibility can be found at: https://hexdocs.pm/elixir/compatibility-and-deprecations.html', | |
| 10085 | + 'Elixir and Erlang/OTP compatibility can be found at: ' + | |
| 10086 | + 'https://hexdocs.pm/elixir/compatibility-and-deprecations.html', | |
| 10086 | 10087 | ) |
| 10087 | 10088 | } |
| 10088 | 10089 |
modified
src/installer.js
+2
−2
@@ -44,7 +44,7 @@ async function installOTP(osVersion, otpVersion, hexMirrors) {
| 44 | 44 | core.addPath(otpPath) |
| 45 | 45 | core.exportVariable('INSTALL_DIR_FOR_OTP', cachedPath) |
| 46 | 46 | |
| 47 | − console.log('Installed Erlang/OTP version') | |
| 47 | + core.info('Installed Erlang/OTP version') | |
| 48 | 48 | await exec(path.join(otpPath, 'erl'), ['-version']) |
| 49 | 49 | } else if (OS === 'win32') { |
| 50 | 50 | if (!cachedPath) { |
@@ -64,7 +64,7 @@ async function installOTP(osVersion, otpVersion, hexMirrors) {
| 64 | 64 | core.addPath(otpPath) |
| 65 | 65 | core.exportVariable('INSTALL_DIR_FOR_OTP', otpDir) |
| 66 | 66 | |
| 67 | − console.log('Installed Erlang/OTP version') | |
| 67 | + core.info('Installed Erlang/OTP version') | |
| 68 | 68 | await exec(path.join(otpPath, 'erl'), ['+V']) |
| 69 | 69 | } |
| 70 | 70 | } catch (err) { |
modified
src/setup-beam.js
+2
−1
@@ -210,7 +210,8 @@ async function getElixirVersion(exSpec0, otpVersion0, hexMirrors) {
| 210 | 210 | throw new Error( |
| 211 | 211 | `Requested Elixir / Erlang/OTP version (${exSpec0} / ${otpVersion0}) not ` + |
| 212 | 212 | 'found in version list (did you check Compatibility between Elixir and Erlang/OTP?).' + |
| 213 | − 'Elixir and Erlang/OTP compatibility can be found on: https://hexdocs.pm/elixir/compatibility-and-deprecations.html', | |
| 213 | + 'Elixir and Erlang/OTP compatibility can be found at: ' + | |
| 214 | + 'https://hexdocs.pm/elixir/compatibility-and-deprecations.html', | |
| 214 | 215 | ) |
| 215 | 216 | } |
| 216 | 217 |
Parents: df9a609