|
1 | | -# Generated from: |
2 | | -# https://github.com/zopefoundation/meta/tree/master/config/c-code |
| 1 | +# Generated with zope.meta (https://zopemeta.readthedocs.io/) from: |
| 2 | +# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code |
3 | 3 | ### |
4 | 4 | # Initially copied from |
5 | 5 | # https://github.com/actions/starter-workflows/blob/main/ci/python-package.yml |
@@ -106,7 +106,7 @@ jobs: |
106 | 106 |
|
107 | 107 | steps: |
108 | 108 | - name: checkout |
109 | | - uses: actions/checkout@v5 |
| 109 | + uses: actions/checkout@v6 |
110 | 110 | with: |
111 | 111 | persist-credentials: false |
112 | 112 | - name: Set up Python ${{ matrix.python-version }} |
@@ -262,7 +262,7 @@ jobs: |
262 | 262 |
|
263 | 263 | steps: |
264 | 264 | - name: checkout |
265 | | - uses: actions/checkout@v5 |
| 265 | + uses: actions/checkout@v6 |
266 | 266 | with: |
267 | 267 | persist-credentials: false |
268 | 268 | - name: Set up Python ${{ matrix.python-version }} |
@@ -378,7 +378,7 @@ jobs: |
378 | 378 |
|
379 | 379 | steps: |
380 | 380 | - name: checkout |
381 | | - uses: actions/checkout@v5 |
| 381 | + uses: actions/checkout@v6 |
382 | 382 | with: |
383 | 383 | persist-credentials: false |
384 | 384 | - name: Set up Python ${{ matrix.python-version }} |
@@ -456,7 +456,7 @@ jobs: |
456 | 456 | python-version: "3.13" |
457 | 457 | steps: |
458 | 458 | - name: checkout |
459 | | - uses: actions/checkout@v5 |
| 459 | + uses: actions/checkout@v6 |
460 | 460 | with: |
461 | 461 | persist-credentials: false |
462 | 462 | - name: Set up Python ${{ matrix.python-version }} |
@@ -539,8 +539,12 @@ jobs: |
539 | 539 | if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') |
540 | 540 | # Wait for both build jobs to complete |
541 | 541 | needs: [build-package, manylinux] |
| 542 | + environment: |
| 543 | + name: pypi |
| 544 | + url: https://pypi.org/p/ExtensionClass |
542 | 545 | permissions: |
543 | 546 | contents: read |
| 547 | + id-token: write # Mandatory for trusted publishing |
544 | 548 |
|
545 | 549 | steps: |
546 | 550 | - name: Download all wheel artifacts |
@@ -570,8 +574,6 @@ jobs: |
570 | 574 | - name: Publish to PyPI |
571 | 575 | uses: pypa/gh-action-pypi-publish@release/v1 |
572 | 576 | with: |
573 | | - user: __token__ |
574 | | - password: ${{ secrets.TWINE_PASSWORD }} |
575 | 577 | skip-existing: true |
576 | 578 | packages-dir: dist/ |
577 | 579 | verbose: true |
0 commit comments