diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index e6449c21..bb928eb3 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-latest, ubuntu-latest, macos-13, macos-14] + os: [windows-latest, ubuntu-latest, macos-latest] python-version: ["3.9", "3.10", "3.11", "3.12"] env: LIMIT_NUMPY_VERSION: 2.0.0 @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} - if: ${{ (matrix.os != 'macos-14') || ((matrix.os == 'macos-14') && (matrix.python-version != '3.9')) }} + if: ${{ ((matrix.os == 'macos-latest') && (matrix.python-version != '3.9')) }} uses: actions/setup-python@v5 id: pysetup with: @@ -37,7 +37,7 @@ jobs: cache: 'pip' - name: Setup Python 3.9 - macos-arm - if: ${{ (matrix.os == 'macos-14') && (matrix.python-version == '3.9') }} + if: ${{ (matrix.os == 'macos-latest') && (matrix.python-version == '3.9') }} run: | brew update brew install python@${{ matrix.python-version }} diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 702c7e21..b91bd38f 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -23,13 +23,13 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-latest, ubuntu-latest, macos-13, macos-14] + os: [windows-latest, ubuntu-latest, macos-latest] python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} - if: ${{ (matrix.os != 'macos-14') || ((matrix.os == 'macos-14') && (matrix.python-version != '3.9')) }} + if: ${{ ((matrix.os == 'macos-latest') && (matrix.python-version != '3.9')) }} uses: actions/setup-python@v5 id: pysetup with: @@ -37,7 +37,7 @@ jobs: cache: 'pip' - name: Setup Python 3.9 - macos-arm - if: ${{ (matrix.os == 'macos-14') && (matrix.python-version == '3.9') }} + if: ${{ (matrix.os == 'macos-latest') && (matrix.python-version == '3.9') }} run: | brew update brew install python@${{ matrix.python-version }} @@ -118,7 +118,7 @@ jobs: with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} - packages_dir: ./dist/ - verify_metadata: false - skip_existing: true + packages-dir: ./dist/ + verify-metadata: false + skip-existing: true verbose: true