diff --git a/.github/workflows/samples-ruby-petstore.yaml b/.github/workflows/samples-ruby-petstore.yaml index 0bdad6af2a0..8afd73ee223 100644 --- a/.github/workflows/samples-ruby-petstore.yaml +++ b/.github/workflows/samples-ruby-petstore.yaml @@ -37,9 +37,10 @@ jobs: steps: - uses: actions/checkout@v4 - #- name: Add hosts to /etc/hosts - # run: | - # sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts + - name: Add hosts to /etc/hosts + run: | + sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts + cat /etc/hosts - uses: actions/setup-ruby@v1 with: ruby-version: 3.0