From 286ea0c593cf581783edfb801db5242ec63aecf3 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Tue, 21 Jan 2025 17:28:24 +0800 Subject: [PATCH] debug --- .github/workflows/samples-ruby-petstore.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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