|
21 | 21 | platform: |
22 | 22 | - [ubuntu-latest, manylinux, x86_64] |
23 | 23 | - [macos-14, macosx, arm64] |
24 | | - python-version: [ "3.11", "3.12", "3.13" ] |
| 24 | + python-version: [ "3.12" ] # cibuildwheel automatically runs on all versions of Python |
25 | 25 | toolchain: |
26 | 26 | - {fortran-compiler: gcc, fc-version: 13} |
27 | 27 |
|
@@ -107,8 +107,8 @@ jobs: |
107 | 107 | - name: Download all the dists |
108 | 108 | uses: actions/download-artifact@v4 |
109 | 109 | with: |
110 | | - pattern: raffle-dist-* |
111 | | - path: dist/ |
| 110 | + pattern: raffle-* |
| 111 | + path: dist |
112 | 112 | merge-multiple: true |
113 | 113 | - name: Publish distribution 📦 to PyPI |
114 | 114 | uses: pypa/gh-action-pypi-publish@release/v1 |
@@ -158,29 +158,30 @@ jobs: |
158 | 158 | '${{ github.ref_name }}' dist/** |
159 | 159 | --repo '${{ github.repository }}' |
160 | 160 |
|
161 | | - publish-to-testpypi: |
162 | | - name: Publish Python 🐍 distribution 📦 to TestPyPI |
163 | | - needs: |
164 | | - - build_wheel |
165 | | - - build_sdist |
166 | | - runs-on: ubuntu-latest |
167 | | - |
168 | | - environment: |
169 | | - name: testpypi |
170 | | - url: https://test.pypi.org/p/raffle |
171 | | - |
172 | | - permissions: |
173 | | - id-token: write # IMPORTANT: mandatory for trusted publishing |
174 | | - |
175 | | - steps: |
176 | | - - name: Download all the dists |
177 | | - uses: actions/download-artifact@v4 |
178 | | - with: |
179 | | - pattern: raffle-* |
180 | | - path: dist |
181 | | - merge-multiple: true |
182 | | - - name: Publish distribution 📦 to TestPyPI |
183 | | - uses: pypa/gh-action-pypi-publish@release/v1 |
184 | | - with: |
185 | | - verbose: true |
186 | | - repository-url: https://test.pypi.org/legacy/ |
| 161 | + # publish-to-testpypi: |
| 162 | + # name: Publish Python 🐍 distribution 📦 to TestPyPI |
| 163 | + # if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes |
| 164 | + # needs: |
| 165 | + # - build_wheel |
| 166 | + # - build_sdist |
| 167 | + # runs-on: ubuntu-latest |
| 168 | + |
| 169 | + # environment: |
| 170 | + # name: testpypi |
| 171 | + # url: https://test.pypi.org/p/raffle |
| 172 | + |
| 173 | + # permissions: |
| 174 | + # id-token: write # IMPORTANT: mandatory for trusted publishing |
| 175 | + |
| 176 | + # steps: |
| 177 | + # - name: Download all the dists |
| 178 | + # uses: actions/download-artifact@v4 |
| 179 | + # with: |
| 180 | + # pattern: raffle-* |
| 181 | + # path: dist |
| 182 | + # merge-multiple: true |
| 183 | + # - name: Publish distribution 📦 to TestPyPI |
| 184 | + # uses: pypa/gh-action-pypi-publish@release/v1 |
| 185 | + # with: |
| 186 | + # verbose: true |
| 187 | + # repository-url: https://test.pypi.org/legacy/ |
0 commit comments