diff --git a/.github/actions/setup_python/action.yml b/.github/actions/setup_python/action.yml index 3a4067e70f0e8c..6ead25c2f2e310 100644 --- a/.github/actions/setup_python/action.yml +++ b/.github/actions/setup_python/action.yml @@ -26,15 +26,15 @@ runs: - if: ${{ runner.os == 'Linux' && inputs.self-hosted-runner == 'true' }} name: Install 'actions/setup-python@v4' dependencies shell: bash - run: apt-get update && apt-get install -y ca-certificates software-properties-common + run: apt-get update && apt-get install -y ca-certificates software-properties-common gpg-agent tzdata + env: + DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input + TZ: "Europe/London" # to prevent tzdata from waiting user input - if: ${{ runner.os == 'Linux' && runner.arch == 'ARM64' }} name: Setup sudo and python3 shell: bash - run: apt-get update && apt-get install -y sudo python3 gpg-agent tzdata # Needed for the deadsnakes action - env: - DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input - TZ: "Europe/London" # to prevent tzdata from waiting user input + run: apt-get update && apt-get install -y sudo python3 # Needed for the deadsnakes action - if: ${{ runner.os == 'Linux' && runner.arch == 'ARM64' }} name: Setup Python ${{ inputs.version }}