Skip to content

Commit

Permalink
Fix setting INSTALL_DIR_FOR_OTP (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach authored Sep 16, 2022
1 parent 6b2f815 commit d85df62
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/install-otp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Start-Process "${FILE_OUTPUT}" "/S /D=${ERL_ROOT}" -Wait
Write-Output "Installed Erlang/OTP version follows"
& "${ERL_ROOT}/bin/erl.exe" "+V" | Write-Output

"INSTALL_DIR_FOR_OTP=" + ${ERL_ROOT}
"INSTALL_DIR_FOR_OTP=${ERL_ROOT}" | Out-File -FilePath ${Env:GITHUB_ENV} -Encoding utf8 -Append
2 changes: 1 addition & 1 deletion dist/install-otp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ tar zxf "${FILE_OUTPUT}" -C "${DIR_FOR_BIN}" --strip-components=1
echo "Installed Erlang/OTP version follows"
${DIR_FOR_BIN}/bin/erl -version

echo "INSTALL_DIR_FOR_OTP=${RUNNER_TEMP}/${DIR_FOR_BIN}"
echo "INSTALL_DIR_FOR_OTP=${RUNNER_TEMP}/${DIR_FOR_BIN}" >> "${GITHUB_ENV}"
2 changes: 1 addition & 1 deletion src/install-otp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Start-Process "${FILE_OUTPUT}" "/S /D=${ERL_ROOT}" -Wait
Write-Output "Installed Erlang/OTP version follows"
& "${ERL_ROOT}/bin/erl.exe" "+V" | Write-Output

"INSTALL_DIR_FOR_OTP=" + ${ERL_ROOT}
"INSTALL_DIR_FOR_OTP=${ERL_ROOT}" | Out-File -FilePath ${Env:GITHUB_ENV} -Encoding utf8 -Append
2 changes: 1 addition & 1 deletion src/install-otp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ tar zxf "${FILE_OUTPUT}" -C "${DIR_FOR_BIN}" --strip-components=1
echo "Installed Erlang/OTP version follows"
${DIR_FOR_BIN}/bin/erl -version

echo "INSTALL_DIR_FOR_OTP=${RUNNER_TEMP}/${DIR_FOR_BIN}"
echo "INSTALL_DIR_FOR_OTP=${RUNNER_TEMP}/${DIR_FOR_BIN}" >> "${GITHUB_ENV}"

0 comments on commit d85df62

Please sign in to comment.