Skip to content

Commit b16b60a

Browse files
attempt install twine as part of standard github actions build
1 parent c7fc277 commit b16b60a

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,13 @@ jobs:
8282
RAYLIB_PLATFORM: ${{ matrix.raylib-platform }}
8383

8484
run: |
85-
python -m pip install --upgrade pip
86-
pip3 install --upgrade cffi
87-
pip3 install --upgrade wheel
88-
pip3 install --upgrade setuptools
89-
python -m pip install --upgrade build
90-
python -m build --wheel
85+
python3 -m pip install --upgrade pip
86+
python3 -m pip install --upgrade cffi
87+
python3 -m pip install --upgrade wheel
88+
python3 -m pip install --upgrade setuptools
89+
python3 -m pip install --upgrade twine
90+
python3 -m pip install --upgrade build
91+
python3 -m build --wheel
9192
9293
- name: Rename wheels from universal2 to x86_64
9394
run: |
@@ -118,7 +119,6 @@ jobs:
118119
- name: Publish to PyPI
119120
if: ${{ inputs.publish_to_pypi == true }}
120121
run: |
121-
python3 -m pip install twine
122122
python3 -m twine upload -u __token__ -p ${{ secrets.PYPI_KEY }} dist/*.whl
123123
124124
- name: Upload build Artifact wheel
@@ -194,12 +194,13 @@ jobs:
194194
RAYLIB_PLATFORM: ${{ matrix.raylib-platform }}
195195

196196
run: |
197-
python -m pip install --upgrade pip
198-
pip3 install --upgrade cffi
199-
pip3 install --upgrade wheel
200-
pip3 install --upgrade setuptools
201-
python -m pip install --upgrade build
202-
python -m build --wheel
197+
python3 -m pip install --upgrade pip
198+
python3 -m pip install --upgrade cffi
199+
python3 -m pip install --upgrade wheel
200+
python3 -m pip install --upgrade setuptools
201+
python3 -m pip install --upgrade twine
202+
python3 -m pip install --upgrade build
203+
python3 -m build --wheel
203204
204205
- name: Test
205206
run: |
@@ -230,7 +231,6 @@ jobs:
230231
- name: Publish to PyPI
231232
if: ${{ inputs.publish_to_pypi == true }}
232233
run: |
233-
python3 -m pip install twine
234234
python3 -m twine upload -u __token__ -p ${{ secrets.PYPI_KEY }} dist/*.whl
235235
236236
- name: Upload build Artifact wheel
@@ -319,6 +319,7 @@ jobs:
319319
${{ matrix.python-version }} -m pip install --upgrade setuptools
320320
${{ matrix.python-version }} -m pip install --upgrade build
321321
${{ matrix.python-version }} -m build --wheel
322+
python3.13 -m pip install twine
322323
python3.13 -m pip install --upgrade auditwheel
323324
python3.13 -m pip install --upgrade patchelf
324325
python3.13 -m auditwheel repair dist/*.whl
@@ -358,7 +359,6 @@ jobs:
358359
- name: Publish to PyPI
359360
if: ${{ inputs.publish_to_pypi == true }}
360361
run: |
361-
python3.13 -m pip install twine
362362
python3.13 -m twine upload -u __token__ -p ${{ secrets.PYPI_KEY }} wheelhouse/*.whl
363363
364364
- name: Upload build Artifact wheel
@@ -441,6 +441,7 @@ jobs:
441441
${{ matrix.python-version }} -m pip install --upgrade wheel
442442
${{ matrix.python-version }} -m pip install --upgrade setuptools
443443
${{ matrix.python-version }} -m pip install --upgrade build
444+
python3.13 -m pip install twine
444445
setarch i386 ${{ matrix.python-version }} -m build --wheel
445446
python3.13 -m pip install --upgrade auditwheel
446447
python3.13 -m pip install --upgrade patchelf
@@ -481,7 +482,6 @@ jobs:
481482
- name: Publish to PyPI
482483
if: ${{ inputs.publish_to_pypi == true }}
483484
run: |
484-
python3.13 -m pip install twine
485485
python3.13 -m twine upload -u __token__ -p ${{ secrets.PYPI_KEY }} wheelhouse/*.whl
486486
487487
- name: Upload build Artifact wheel
@@ -561,6 +561,7 @@ jobs:
561561
python3 -m pip install --upgrade setuptools
562562
python3 -m pip install --upgrade build
563563
python3 -m build --wheel
564+
python3 -m pip install twine
564565
python3 -m pip install --upgrade auditwheel
565566
python3 -m pip install --upgrade patchelf
566567
python3 -m auditwheel repair dist/*.whl
@@ -600,7 +601,6 @@ jobs:
600601
- name: Publish to PyPI
601602
if: ${{ inputs.publish_to_pypi == true }}
602603
run: |
603-
python3 -m pip install twine
604604
python3 -m twine upload -u __token__ -p ${{ secrets.PYPI_KEY }} wheelhouse/*.whl
605605
606606
- name: Upload build Artifact wheel
@@ -695,6 +695,7 @@ jobs:
695695
del raylib\dynamic\*.dylib >nul 2>&1
696696
del raylib\dynamic\32bit\* >nul 2>&1
697697
python -m build --wheel
698+
python3 -m pip install twine
698699
shell: cmd
699700

700701
- name: Test
@@ -715,7 +716,6 @@ jobs:
715716
- name: Publish to PyPI
716717
if: ${{ inputs.publish_to_pypi == true }}
717718
run: |
718-
python3 -m pip install twine
719719
python3 -m twine upload -u __token__ -p ${{ secrets.PYPI_KEY }} dist/*.whl
720720
721721
- name: Upload build Artifact wheel
@@ -810,6 +810,7 @@ jobs:
810810
del raylib\dynamic\*.dylib >nul 2>&1
811811
del raylib\dynamic\32bit\* >nul 2>&1
812812
python -m build --wheel
813+
python3 -m pip install twine
813814
shell: cmd
814815

815816
- name: Test
@@ -830,7 +831,6 @@ jobs:
830831
- name: Publish to PyPI
831832
if: ${{ inputs.publish_to_pypi == true }}
832833
run: |
833-
python3 -m pip install twine
834834
python3 -m twine upload -u __token__ -p ${{ secrets.PYPI_KEY }} dist/*.whl
835835
836836
- name: Upload build Artifact wheel
@@ -882,12 +882,12 @@ jobs:
882882
pip3 install --upgrade cffi
883883
pip3 install --upgrade wheel
884884
pip3 install --upgrade setuptools
885+
python3 -m pip install twine
885886
python setup.py sdist
886887
887888
- name: Publish to PyPI
888889
if: ${{ inputs.publish_to_pypi == true }}
889890
run: |
890-
python3 -m pip install twine
891891
python3 -m twine upload -u __token__ -p ${{ secrets.PYPI_KEY }} dist/*
892892
893893
- name: Upload build Artifact wheel
@@ -923,13 +923,13 @@ jobs:
923923
pip3 install --upgrade cffi
924924
pip3 install --upgrade wheel
925925
pip3 install --upgrade setuptools
926+
python3 -m pip install twine
926927
cd dynamic
927928
python setup.py sdist
928929
929930
- name: Publish to PyPI
930931
if: ${{ inputs.publish_to_pypi == true }}
931932
run: |
932-
python3 -m pip install twine
933933
python3 -m twine upload -u __token__ -p ${{ secrets.PYPI_KEY }} dynamic/dist/*
934934
935935
- name: Upload build Artifact wheel

0 commit comments

Comments
 (0)