From 6e64cccc56a1a54f47782e799a57ee7b9921c56b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?p=C3=BDrus?= Date: Tue, 13 May 2025 14:11:40 +0200 Subject: [PATCH] fix unaccountable leading "-e" in /etc/hosts --- action.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 0fa3b5d..1037952 100644 --- a/action.yaml +++ b/action.yaml @@ -31,8 +31,10 @@ runs: # This is to avoid RabbitMQ to fail at startup because a wrong version of erlang was installed - name: Workaround for RabbitMQ run: | + # fix freaky leading "-e" in /etc/hosts + sudo sed -i 's/^-e \+//g' /etc/hosts sudo apt-get purge -y esl-erlang || true - sudo apt-get install -y erlang rabbitmq-server || true + sudo apt-get install -y erlang rabbitmq-server # if rabbitmq-server is not installed, tests must be stopped shell: bash - name: Workaround for docker.io if: ${{ inputs.enable_workaround_docker_io == 'true' }}