setup-python icon indicating copy to clipboard operation
setup-python copied to clipboard

How can we uninstall a python version?

Open SeaOtocinclus opened this issue 1 year ago • 1 comments

Is it possible to install and uninstall python version with the setup-python action

I.e does the following will first install python 3.8, then remove it to install 3.11 or does both python version will be available on the GitHub machine?

I'm asking this since I would like to run some steps of a workflow with python 3.11 and then move to another python version for the rest

- name: Set up Python 3.8
        uses: actions/setup-python@v5
        with:
          python-version: 3.8

- name: Set up Python 3.11
        uses: actions/setup-python@v5
        with:
          python-version: 3.11

SeaOtocinclus avatar Jan 18 '24 05:01 SeaOtocinclus

Hello @SeaOtocinclus, Thank you for creating this issue, we will investigate further and see what can be done :)

aparnajyothi-y avatar Jan 19 '24 10:01 aparnajyothi-y