Skip to content

Commit c0cc2e5

Browse files
try to fix license files not be accepting by twine
1 parent 9fb7b1c commit c0cc2e5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,13 @@ jobs:
155155
${{ matrix.python-version }} -m pip install --upgrade "cffi>=1.17.1"
156156
${{ matrix.python-version }} -m pip install --upgrade wheel
157157
${{ matrix.python-version }} -m pip install --upgrade setuptools
158-
${{ matrix.python-version }} setup.py bdist_wheel --plat-name manylinux2014_x86_64
158+
${{ matrix.python-version }} -m pip install --upgrade auditwheel
159+
${{ matrix.python-version }} -m build --wheel
160+
${{ matrix.python-version }} -m auditwheel repair dist/*.whl
159161
shell: bash
160162
- name: Test
161163
run: |
162-
${{ matrix.python-version }} -m pip install dist/*.whl
164+
${{ matrix.python-version }} -m pip install wheelhouse/*.whl
163165
cd /
164166
${{ matrix.python-version }} -c 'import pyray; pyray.init_window(100,100,"test")' >/tmp/output 2>&1 || true
165167
cat /tmp/output
@@ -176,7 +178,7 @@ jobs:
176178
uses: actions/upload-artifact@v4
177179
with:
178180
name: wheel-linux-${{ matrix.raylib-platform }}-${{ matrix.python-version }}
179-
path: dist/*
181+
path: wheelhouse/*
180182

181183

182184
build-windows:

0 commit comments

Comments
 (0)