From 3e3a03020af3dac49dd22456c1a702b5a444ae3a Mon Sep 17 00:00:00 2001 From: Mike Weeks Date: Tue, 13 Jan 2026 10:43:13 -0500 Subject: [PATCH] feat: Allow Skipping Pip Installation --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index c00475d..1e16eb8 100644 --- a/action.yml +++ b/action.yml @@ -1,6 +1,9 @@ name: 'Setup python amazon linux' description: 'setup-python action for amazon linux self hosted runners' inputs: + install-pip: + description: 'Whether to install pip. Default true.' + default: 'true' python-version: description: 'Version of python to be installed. Reads from python-version-file if unset.' python-version-file: @@ -62,6 +65,7 @@ runs: ls "${installation_directory}/bin" - name: Install pip + if: ${{ inputs.install-pip == 'true' }} shell: bash run: | installation_directory="${{ steps.set-installation-directory.outputs.installation_directory }}"