From b1560a0610f2947f3a76873795422088a5a2f772 Mon Sep 17 00:00:00 2001 From: Meghdad Date: Sun, 1 Jun 2025 23:38:50 +0330 Subject: [PATCH] move dns step --- .github/workflows/run-script.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-script.yml b/.github/workflows/run-script.yml index 56ec6f6..b58608e 100644 --- a/.github/workflows/run-script.yml +++ b/.github/workflows/run-script.yml @@ -14,11 +14,6 @@ jobs: steps: - - name: Set custom DNS - run: | - echo -e "nameserver 185.51.200.2\nnameserver 178.22.122.100" | sudo tee /etc/resolv.conf > /dev/null - cat /etc/resolv.conf - - name: Checkout code uses: actions/checkout@v4 @@ -32,6 +27,11 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt + - name: Set custom DNS + run: | + echo -e "nameserver 185.51.200.2\nnameserver 178.22.122.100" | sudo tee /etc/resolv.conf > /dev/null + cat /etc/resolv.conf + - name: Run Python Script env: BARGHEMAN_TOKEN: ${{ secrets.BARGHEMAN_TOKEN }}