From 1ba38e62c4884cdb55ff8e481c984f7e47808c1e Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Mon, 23 Dec 2024 21:18:32 +0800 Subject: [PATCH] Update deploy-pypi.yml Signed-off-by: Loren Eteval --- .github/workflows/deploy-pypi.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy-pypi.yml b/.github/workflows/deploy-pypi.yml index 8456bc7..4d0d4e8 100644 --- a/.github/workflows/deploy-pypi.yml +++ b/.github/workflows/deploy-pypi.yml @@ -8,8 +8,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022, macos-11, macos-12, macos-13] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, windows-2019, windows-2022, windows-2025, macos-13, macos-14, macos-15] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v3 @@ -17,11 +17,13 @@ jobs: - uses: actions/setup-go@v4 with: go-version: "1.20" + check-latest: true - run: go version - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + check-latest: true - run: python --version - name: Install setuptools, wheel @@ -71,8 +73,7 @@ jobs: github-release: name: >- - Sign the Python 🐍 distribution 📦 with Sigstore - and upload them to GitHub Release + Upload to GitHub Release needs: - publish-to-pypi runs-on: ubuntu-latest @@ -87,12 +88,6 @@ jobs: with: name: python-package-distributions path: dist/ - - name: Sign the dists with Sigstore - uses: sigstore/gh-action-sigstore-python@v1.2.3 - with: - inputs: >- - ./dist/*.tar.gz - ./dist/*.whl - name: Create GitHub Release env: GITHUB_TOKEN: ${{ github.token }} @@ -101,12 +96,10 @@ jobs: '${{ github.ref_name }}' --repo '${{ github.repository }}' --notes "" - - name: Upload artifact signatures to GitHub Release + - name: Upload artifact to GitHub Release env: GITHUB_TOKEN: ${{ github.token }} # Upload to GitHub Release using the `gh` CLI. - # `dist/` contains the built packages, and the - # sigstore-produced signatures and certificates. run: >- gh release upload '${{ github.ref_name }}' dist/**