From b34bcc9ca0f5131392617ed701e6fa3b69bf10d6 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Mon, 27 Apr 2026 12:42:35 -0300 Subject: [PATCH 1/2] trusted publishers --- .github/workflows/cibuildwheel.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 2332742f..4acbe4b7 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -101,8 +101,9 @@ jobs: # Move to Trusted Publishing - uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0 with: - user: __token__ - password: ${{ secrets.PYPI_PASSWORD }} print_hash: true + environment: + name: release + url: https://pypi.org/p/cftime permissions: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing From 7dcd9090961c583ba6cbf17ea2c48aa61de04a69 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Mon, 27 Apr 2026 12:47:24 -0300 Subject: [PATCH 2/2] use stable python --- .github/workflows/tests_latest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests_latest.yml b/.github/workflows/tests_latest.yml index af3c30c0..1903031f 100644 --- a/.github/workflows/tests_latest.yml +++ b/.github/workflows/tests_latest.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.14.0b.1"] + python-version: ["3.14"] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2