diff --git a/.github/workflows/github_build.yml b/.github/workflows/github_build.yml index 78eb013..b043c18 100644 --- a/.github/workflows/github_build.yml +++ b/.github/workflows/github_build.yml @@ -82,7 +82,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup micromamba - uses: mamba-org/setup-micromamba@v2 + uses: mamba-org/setup-micromamba@v3 with: environment-name: fdog-env create-args: >- @@ -101,10 +101,17 @@ jobs: if: startsWith(github.event.ref, 'refs/tags') steps: - uses: actions/checkout@v4 - - name: Build and publish - # uses: casperdcl/deploy-pypi@v2 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + - name: Install build tools + run: | + python -m pip install --upgrade pip + python -m pip install build + - name: Build distribution packages + run: python -m build + - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.pypi }} - build: true - upload: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }} diff --git a/setup.py b/setup.py index e22e8d1..6a9b48e 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ setup( name="fdog", - version="1.2.0", + version="1.2.2", python_requires='>=3.12.0', description="Feature-aware Directed OrtholoG search tool", long_description=long_description,