Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[CI] [GHA] Remove usage of the `deadsnakes` action (#31285)

Andrei Kashchikhin547be950c315
diff --git a/.github/actions/setup_python/action.yml b/.github/actions/setup_python/action.yml
index 507c52d8a69..416e1a66ec6 100644
--- a/.github/actions/setup_python/action.yml
+++ b/.github/actions/setup_python/action.yml
@@ -38,18 +38,7 @@ runs:
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' && steps.check_python.outputs.installed == 'false' }}
- name: Setup sudo and python3
- shell: bash
- run: apt-get update && apt-get install -y sudo python3 # Needed for the deadsnakes action
-
- - if: ${{ runner.os == 'Linux' && runner.arch == 'ARM64' && steps.check_python.outputs.installed == 'false' }}
- name: Setup Python ${{ inputs.version }}
- uses: akashchi/deadsnakes-action@92417281055a5878a0450f240a5b95883eb2d7e2
- with:
- python-version: ${{ inputs.version }}
-
- - if: ${{ runner.os == 'macOS' || runner.os == 'Windows' || (runner.os == 'Linux' && runner.arch != 'ARM64' && steps.check_python.outputs.installed == 'false') }}
+ - if: ${{ runner.os == 'macOS' || runner.os == 'Windows' || (runner.os == 'Linux' && steps.check_python.outputs.installed == 'false') }}
name: Setup Python ${{ inputs.version }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with: