Skip to content

Commit 45e8baf

Browse files
committed
No longer setup pip in post and add new inputs
1 parent c19d569 commit 45e8baf

2 files changed

Lines changed: 6 additions & 34 deletions

File tree

action.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ inputs:
3939
freethreaded:
4040
description: "When 'true', use the freethreaded version of Python."
4141
default: false
42+
pip-version:
43+
description: "Used to specify the version of pip to install with the Python. Supported format: major[.minor][.patch]."
44+
pip-install:
45+
description: "Used to specify the packages to install with pip after setting up Python. Can be a requirements file or package names."
4246
outputs:
4347
python-version:
4448
description: "The installed Python or PyPy version. Useful when given a version range as input."
@@ -75,8 +79,5 @@ runs:
7579
cache-dependency-path: ${{ inputs.cache-dependency-path }}
7680
update-environment: ${{ inputs.update-environment }}
7781
freethreaded: ${{ steps.build.outputs.freethreaded }}
78-
- run: ${{ github.action_path }}/setup_pip.ps1
79-
shell: pwsh
80-
env:
81-
PYTHON_VERSION: ${{ steps.setup.outputs.python-version }}
82-
SETUP_PYTHON_PATH: ${{ steps.setup.outputs.python-path }}
82+
pip-version: ${{ inputs.pip-version }}
83+
pip-install: ${{ inputs.pip-install }}

setup_pip.ps1

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)