Skip to content

Commit e13f710

Browse files
authored
[CI] [GHA] Remove pip cache info from setup_python action (openvinotoolkit#28561)
### Details: - Port of openvinotoolkit#28557
1 parent 0efe897 commit e13f710

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

.github/actions/setup_python/action.yml

-9
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ inputs:
1515
description: 'If the runner is self-hosted'
1616
required: false
1717
default: 'true'
18-
show-cache-info:
19-
description: 'If the action should show the share space occupied by cache'
20-
required: false
21-
default: 'false'
2218
runs:
2319
using: 'composite'
2420
steps:
@@ -75,8 +71,3 @@ runs:
7571
$pipVersion = python3 -c "import pip; print(pip.__version__)"
7672
Write-Host "Using pip version: $pipVersion"
7773
"PIP_CACHE_DIR=${{ inputs.pip-cache-path }}/$pipVersion" >> $env:GITHUB_ENV
78-
79-
- if: ${{ inputs.show-cache-info == 'true' }}
80-
name: Get pip cache info
81-
shell: bash
82-
run: python3 -m pip cache info

.github/workflows/job_build_windows.yml

-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ jobs:
8080
pip-cache-path: ${{ env.PIP_CACHE_PATH }}
8181
should-setup-pip-paths: 'true'
8282
self-hosted-runner: 'true'
83-
show-cache-info: 'true'
8483

8584
- name: Generate product manifest and set CI_BUILD_NUMBER & CI_BUILD_DEV_TAG
8685
id: create_manifest

docs/dev/ci/github_actions/custom_actions.md

-2
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,12 @@ Since `actions/setup-python` does not work on the Linux ARM64 machines,
2929
pip-cache-path: ${{ env.PIP_CACHE_PATH }}
3030
should-setup-pip-paths: 'true'
3131
self-hosted-runner: 'true'
32-
show-cache-info: 'true'
3332
```
3433
where:
3534
* `version` - the Python version to install in the `MAJOR.MINOR` format
3635
* `pip-cache-path` - the path to the `pip` cache on the mounted share. Read more in the [shares and caches](./caches.md) documentation
3736
* `should-setup-pip-paths` - indicates whether the action should set up the `PIP_CACHE_DIR` and `PIP_INSTALL_PATH` environment variables for later usage
3837
* `self-hosted-runner` - indicates whether the runner is self-hosted. Learn more about [available runners](./runners.md)
39-
* `show-cache-info` - indicates whether the action should show the share space occupied by the `pip` cache
4038

4139
## System Info Print
4240

0 commit comments

Comments
 (0)