diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 3cc8ba9..6c9f5c1 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -1,6 +1,6 @@ -# # This workflows will create a release using auto when a PR is merged in master. +# This workflows will create a release using auto when a PR is merged in master. -name: Format and auto-release on PR merge +name: Auto-release on PR merge on: # ATM, this is the closest trigger to a PR merging @@ -10,7 +10,7 @@ on: jobs: auto-release: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 # Set skip ci to avoid loops if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" # Set bash as default shell for jobs @@ -19,7 +19,7 @@ jobs: shell: bash steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: # Fetch all history for all branches and tags fetch-depth: 0 diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 0885b8c..03e58b5 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -1,5 +1,5 @@ -# # This workflows will upload a Python Package using Twine when a release is created -# # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries +# This workflows will upload a Python Package using Twine when a release is created +# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries name: Upload Python Package @@ -10,15 +10,15 @@ on: jobs: deploy: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: '3.6' + python-version: 3.11 - name: Install dependencies run: | python -m pip install --upgrade pip @@ -29,4 +29,5 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python setup.py sdist bdist_wheel + twine check dist/* twine upload dist/* diff --git a/setup.cfg b/setup.cfg index 01a1f92..4ab8dd4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,17 +2,14 @@ name = url = https://github.com/physiopy/ download_url = https://github.com/physiopy/ -author = Physiopy community -maintainer = Stefano Moia -maintainer_email = s.moia.research@gmail.com +author = The Physiopy Community +maintainer = The Physiopy Community +maintainer_email = physiopy.community@gmail.com classifiers = Development Status :: 1 - Planning Intended Audience :: Science/Research License :: OSI Approved :: - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3 license = description = . long_description = file:README.md