Skip to content

Commit d40191e

Browse files
ShahanaFarooquiendothermicdev
authored andcommitted
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.
1 parent 162fcb7 commit d40191e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/pypi.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,12 @@ jobs:
5959
echo "EVENT DISTLOCATION: ${{ github.event.inputs.dist-location }}"
6060
echo "DISTRIBUTION LOCATION: $DISTLOCATION"
6161
62+
- name: Set up Python
63+
uses: actions/setup-python@v4
64+
with:
65+
python-version: '3.10'
66+
6267
- name: Install Poetry
63-
env:
64-
WORKDIR: ${{ matrix.WORKDIR }}
6568
run: |
6669
curl -sSL https://install.python-poetry.org | python3 -
6770
echo "$HOME/.local/bin" >> $GITHUB_PATH

0 commit comments

Comments
 (0)