diff --git a/start/action.yml b/start/action.yml index 957cbd0..97fa3eb 100644 --- a/start/action.yml +++ b/start/action.yml @@ -20,7 +20,8 @@ runs: id: redirect-segment shell: bash run: | - echo '127.0.0.2 api.segment.io' | sudo tee -a /etc/hosts + cat /etc/hosts | grep '127.0.0.2 api.segment.io' || { echo '127.0.0.2 api.segment.io' | sudo tee -a /etc/hosts } + cat /etc/hosts | grep '127.0.0.2 api.segment.io' - name: Install macOS Docker Desktop dmg if: runner.os == 'macOS'