Skip to content

Commit d3e886c

Browse files
ddelangecclauss
andauthored
Apply suggestions from code review
Co-authored-by: Christian Clauss <cclauss@me.com>
1 parent 620d78f commit d3e886c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
python-version: ${{ matrix.python-version }}
2121
allow-prereleases: true
2222
- name: Copy libmagic into magic dir
23-
run: ${{ ( startsWith( matrix.os, 'windows' ) && 'bash add_libmagic.sh' ) || 'sudo -E bash add_libmagic.sh' }}
23+
run: ${{ (runner.os == 'Windows' && 'bash add_libmagic.sh') || 'sudo -E bash add_libmagic.sh' }}
2424
- run: pip install --upgrade pip
2525
- run: pip install --upgrade pytest
2626
- run: pip install --editable .

.github/workflows/wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030

3131
- name: Build source distribution
3232
run: |
33-
pip install --upgrade setuptools wheel pip
34-
python setup.py sdist
33+
pip install --upgrade setuptools wheel pip build
34+
python -m build --sdist
3535
3636
- uses: actions/upload-artifact@v4
3737
with:

0 commit comments

Comments
 (0)