Skip to content

Commit

Permalink
with multiple versions with setup-python
Browse files Browse the repository at this point in the history
  • Loading branch information
priya-kinthali committed Nov 13, 2024
1 parent ea5eff0 commit eb62c0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.11
id: python
id: python311
uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand All @@ -29,10 +29,10 @@ jobs:
- name: Install Python Package
run: pipx install .
env:
PIPX_DEFAULT_PYTHON: ${{ steps.python.outputs.python-path }}
PIPX_DEFAULT_PYTHON: ${{ steps.python311.outputs.python-path }}

- name: Setup Python 3.12
id: python
id: python312
uses: actions/setup-python@v5
with:
python-version: "3.12"
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Install Python Package
run: pipx install .
env:
PIPX_DEFAULT_PYTHON: ${{ steps.python.outputs.python-path }}
PIPX_DEFAULT_PYTHON: ${{ steps.python312.outputs.python-path }}

# - name: Install Python Package
# run: pipx install .
Expand Down

0 comments on commit eb62c0f

Please sign in to comment.