Skip to content

Commit

Permalink
fix: Setup Tools + PEP-625
Browse files Browse the repository at this point in the history
As of setuptools 69.3.0, the sdist package is normalised as per the file naming
recommended in PEP-625. This uses a wildcard, instead of constructing the filename
  • Loading branch information
techman83 committed May 28, 2024
1 parent 4779d05 commit f59f29c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ jobs:
(cd build/${{ matrix.provider }} && python -m build)
- name: Install + check package
run: |
pip install build/${{ matrix.provider }}/dist/${{ matrix.name }}-${{ matrix.version }}.tar.gz
pip install build/${{ matrix.provider }}/dist/*.tar.gz
python -c 'import pkgutil,sys; sys.exit(0) if pkgutil.find_loader("cally.providers.${{ matrix.provider }}") else sys.exit(1)'
- name: Upload Provider
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.provider }}-${{ matrix.name }}-${{ matrix.version }}
path: build/${{ matrix.provider }}/dist/${{ matrix.name }}-${{ matrix.version }}.tar.gz
path: build/${{ matrix.provider }}/dist/*.tar.gz
retention-days: 1
upload-cache:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f59f29c

Please sign in to comment.