diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index bb928eb3..d4d055ab 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} - if: ${{ ((matrix.os == 'macos-latest') && (matrix.python-version != '3.9')) }} + if: ${{ (matrix.os != 'macos-latest') || ((matrix.os == 'macos-latest') && (matrix.python-version != '3.9')) }} uses: actions/setup-python@v5 id: pysetup with: