diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index f98202e..927b25b 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -22,6 +22,12 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + name: Install Python + with: + python-version: '3.11' + architecture: 'x64' + - name: Build wheels uses: pypa/cibuildwheel@v2.17.0 @@ -40,13 +46,14 @@ jobs: name: Install Python with: python-version: '3.11' - architecture: 'x64' - name: Build sdist - run: pipx run build --sdist + run: python -m pipx run build --sdist - name: test install - run: pip install dist/magenpy*.tar.gz + run: | + python -m pip install --upgrade pip + python -m pip install dist/magenpy*.tar.gz - uses: actions/upload-artifact@v4 with: