ci: Fixed python to version 3.10

The pypi publishing failed due to `ERROR: No matching distribution found for poetry==2.1.1`. Fixing Python version resolves the issue.
This commit is contained in:
ShahanaFarooqui
2025-03-05 12:33:35 -08:00
committed by Alex Myers
parent 162fcb754d
commit d40191eeb6

View File

@@ -59,9 +59,12 @@ jobs:
echo "EVENT DISTLOCATION: ${{ github.event.inputs.dist-location }}"
echo "DISTRIBUTION LOCATION: $DISTLOCATION"
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
env:
WORKDIR: ${{ matrix.WORKDIR }}
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH