55 tags :
66 - v*
77 pull_request :
8+ workflow_dispatch :
89
910concurrency :
1011 group : ${{ github.workflow }}-${{ github.ref }}
@@ -16,14 +17,14 @@ jobs:
1617 runs-on : ${{ matrix.os }}
1718 strategy :
1819 matrix :
19- os : [windows-2019 , ubuntu-22.04, macos-13 ]
20+ os : [windows-2022 , ubuntu-22.04, macos-14 ]
2021
2122 steps :
22- - uses : actions/checkout@v4
23+ - uses : actions/checkout@v6
2324
24- - uses : actions/setup-python@v5
25+ - uses : actions/setup-python@v6
2526 with :
26- python-version : ' 3.9 '
27+ python-version : ' 3.11 '
2728 cache : ' pip'
2829
2930 - name : Install dependencies
3738 python3 -m pip wheel . -w dist
3839 for old in dist/rocketsim-*.whl
3940 do
40- new=$(echo $old | sed -E 's/-(cp[0-9]+)-cp[0-9]+-/-\1 -abi3-/g')
41+ new=$(echo $old | sed -E 's/-(cp[0-9]+)-cp[0-9]+-/-cp39 -abi3-/g')
4142 mv $old $new
4243 done
4344
@@ -47,13 +48,11 @@ jobs:
4748 python3 -m cibuildwheel --output-dir dist
4849 for old in dist/rocketsim-*.whl
4950 do
50- new=$(echo $old | sed -E 's/-(cp[0-9]+)-cp[0-9]+-.*\.whl/-\1 -abi3-manylinux2014_x86_64.whl/g')
51+ new=$(echo $old | sed -E 's/-(cp[0-9]+)-cp[0-9]+-.*\.whl/-cp39 -abi3-manylinux2014_x86_64.whl/g')
5152 mv $old $new
5253 done
53- env :
54- CIBW_BUILD : cp39-manylinux_x86_64
5554
56- - uses : actions/upload-artifact@v4
55+ - uses : actions/upload-artifact@v6
5756 with :
5857 name : wheel-${{ matrix.os }}
5958 path : dist/rocketsim-*.whl
@@ -63,14 +62,15 @@ jobs:
6362 runs-on : ${{ matrix.os }}
6463 needs : build_wheel
6564 strategy :
65+ fail-fast : false
6666 matrix :
67- os : [windows-2019 , ubuntu-22.04, macos-13 ]
68- pyversion : ['3.9', '3.10', '3.11', '3.12', '3.13']
67+ os : [windows-2022 , ubuntu-22.04, macos-14 ]
68+ pyversion : ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14' ]
6969
7070 steps :
71- - uses : actions/checkout@v4
71+ - uses : actions/checkout@v6
7272
73- - uses : actions/setup-python@v5
73+ - uses : actions/setup-python@v6
7474 with :
7575 python-version : ${{ matrix.pyversion }}
7676 cache : ' pip'
8080 pip3 install numpy PyGLM
8181
8282 - name : Download artifact ${{ matrix.os }}
83- uses : actions/download-artifact@v4
83+ uses : actions/download-artifact@v7
8484 with :
8585 name : wheel-${{ matrix.os }}
8686 path : dist
9191 pip3 install dist/rocketsim-*.whl
9292
9393 - name : Load collision meshes
94- uses : actions/cache/restore@v4
94+ uses : actions/cache/restore@v5
9595 id : collision-cache-restore
9696 with :
9797 path : collision_meshes
@@ -100,20 +100,13 @@ jobs:
100100
101101 - name : Download collision meshes
102102 if : steps.collision-cache-restore.outputs.cache-hit != 'true'
103- uses : suisei-cn/actions-download-file@v1.3.0
104- with :
105- url : https://mtheall.com/~mtheall/collision_meshes.tar
106-
107- - name : Extract collision meshes
108- if : steps.collision-cache-restore.outputs.cache-hit != 'true'
109- uses : a7ul/tar-action@v1.1.3
110- with :
111- command : x
112- files : collision_meshes.tar
103+ run : |
104+ curl -o collision_meshes.tar ${{ secrets.COLLISION_MESHES_URL }}
105+ tar -xf collision_meshes.tar
113106
114107 - name : Save collision meshes
115108 if : steps.collision-cache-restore.outputs.cache-hit != 'true'
116- uses : actions/cache/save@v4
109+ uses : actions/cache/save@v5
117110 with :
118111 path : collision_meshes
119112 key : collision-cache
@@ -138,22 +131,22 @@ jobs:
138131 permissions :
139132 id-token : write
140133 steps :
141- - name : Download artifact windows-2019
142- uses : actions/download-artifact@v4
134+ - name : Download artifact windows-2022
135+ uses : actions/download-artifact@v7
143136 with :
144- name : wheel-windows-2019
137+ name : wheel-windows-2022
145138 path : dist
146139
147140 - name : Download artifact ubuntu-22.04
148- uses : actions/download-artifact@v4
141+ uses : actions/download-artifact@v7
149142 with :
150143 name : wheel-ubuntu-22.04
151144 path : dist
152145
153- - name : Download artifact macos-13
154- uses : actions/download-artifact@v4
146+ - name : Download artifact macos-14
147+ uses : actions/download-artifact@v7
155148 with :
156- name : wheel-macos-13
149+ name : wheel-macos-14
157150 path : dist
158151
159152 - name : Publish package distributions to PyPI
0 commit comments