OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[CI] [GHA] Remove `pip cache info` from `setup_python` action (#28561)
Andrei Kashchikhine13f71005a71
diff --git a/.github/actions/setup_python/action.yml b/.github/actions/setup_python/action.ymlindex ce85be46ced..507c52d8a69 100644--- a/.github/actions/setup_python/action.yml+++ b/.github/actions/setup_python/action.yml@@ -15,10 +15,6 @@ inputs:description: 'If the runner is self-hosted'required: falsedefault: 'true'- show-cache-info:- description: 'If the action should show the share space occupied by cache'- required: false- default: 'false'runs:using: 'composite'steps:@@ -75,8 +71,3 @@ runs:$pipVersion = python3 -c "import pip; print(pip.__version__)"Write-Host "Using pip version: $pipVersion""PIP_CACHE_DIR=${{ inputs.pip-cache-path }}/$pipVersion" >> $env:GITHUB_ENV-- - if: ${{ inputs.show-cache-info == 'true' }}- name: Get pip cache info- shell: bash- run: python3 -m pip cache infodiff --git a/.github/workflows/job_build_windows.yml b/.github/workflows/job_build_windows.ymlindex f0c150c4ac4..988bec1de7f 100644--- a/.github/workflows/job_build_windows.yml+++ b/.github/workflows/job_build_windows.yml@@ -80,7 +80,6 @@ jobs:pip-cache-path: ${{ env.PIP_CACHE_PATH }}should-setup-pip-paths: 'true'self-hosted-runner: 'true'- show-cache-info: 'true'- name: Generate product manifest and set CI_BUILD_NUMBER & CI_BUILD_DEV_TAGid: create_manifestdiff --git a/docs/dev/ci/github_actions/custom_actions.md b/docs/dev/ci/github_actions/custom_actions.mdindex d2c2ca149b2..e65650aea2b 100644--- a/docs/dev/ci/github_actions/custom_actions.md+++ b/docs/dev/ci/github_actions/custom_actions.md@@ -29,14 +29,12 @@ Since `actions/setup-python` does not work on the Linux ARM64 machines,pip-cache-path: ${{ env.PIP_CACHE_PATH }}should-setup-pip-paths: 'true'self-hosted-runner: 'true'- show-cache-info: 'true'```where:* `version` - the Python version to install in the `MAJOR.MINOR` format* `pip-cache-path` - the path to the `pip` cache on the mounted share. Read more in the [shares and caches](./caches.md) documentation* `should-setup-pip-paths` - indicates whether the action should set up the `PIP_CACHE_DIR` and `PIP_INSTALL_PATH` environment variables for later usage* `self-hosted-runner` - indicates whether the runner is self-hosted. Learn more about [available runners](./runners.md)-* `show-cache-info` - indicates whether the action should show the share space occupied by the `pip` cache## System Info Print