We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 620d78f commit d3e886cCopy full SHA for d3e886c
2 files changed
.github/workflows/ci.yml
@@ -20,7 +20,7 @@ jobs:
20
python-version: ${{ matrix.python-version }}
21
allow-prereleases: true
22
- name: Copy libmagic into magic dir
23
- run: ${{ ( startsWith( matrix.os, 'windows' ) && 'bash add_libmagic.sh' ) || 'sudo -E bash add_libmagic.sh' }}
+ run: ${{ (runner.os == 'Windows' && 'bash add_libmagic.sh') || 'sudo -E bash add_libmagic.sh' }}
24
- run: pip install --upgrade pip
25
- run: pip install --upgrade pytest
26
- run: pip install --editable .
.github/workflows/wheels.yml
@@ -30,8 +30,8 @@ jobs:
30
31
- name: Build source distribution
32
run: |
33
- pip install --upgrade setuptools wheel pip
34
- python setup.py sdist
+ pip install --upgrade setuptools wheel pip build
+ python -m build --sdist
35
36
- uses: actions/upload-artifact@v4
37
with:
0 commit comments