diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7986eae..e7ba147 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,13 +1,16 @@ name: CI -on: [push, pull_request] +#on: [push, pull_request] +on: workflow_dispatch jobs: test: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + #os: [ubuntu-latest, macos-latest, windows-latest] + #python-version: ["3.9", "3.10", "3.11", "3.12"] + os: [macos-14] python-version: ["3.9", "3.10", "3.11", "3.12"] steps: @@ -71,29 +74,29 @@ jobs: name: wheelhouse path: "./wheelhouse/*.whl" - publish: - runs-on: ubuntu-latest - needs: - - build - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-python@v4 - - - name: sdist - run: | - python -m pip install -U build pip - python -m build -s - - - name: download - uses: actions/download-artifact@v3 - with: - name: wheelhouse - path: dist - - - name: Publish package to PyPI - if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') - uses: pypa/gh-action-pypi-publish@v1.8.10 - with: - user: __token__ - password: ${{ secrets.pypi_password }} +# publish: +# runs-on: ubuntu-latest +# needs: +# - build +# steps: +# - uses: actions/checkout@v4 +# +# - uses: actions/setup-python@v4 +# +# - name: sdist +# run: | +# python -m pip install -U build pip +# python -m build -s +# +# - name: download +# uses: actions/download-artifact@v3 +# with: +# name: wheelhouse +# path: dist +# +# - name: Publish package to PyPI +# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') +# uses: pypa/gh-action-pypi-publish@v1.8.10 +# with: +# user: __token__ +# password: ${{ secrets.pypi_password }}