diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 73b7428..3af42ad 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -6,18 +6,14 @@ on: jobs: build-n-publish: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - name: Set up Python 3.9 - uses: actions/setup-python@v1 - with: - python-version: 3.9 + - uses: actions/checkout@v4 - name: Install wheel run: python3 -m pip install wheel - name: Build a binary wheel and a source tarball run: python3 setup.py sdist bdist_wheel - name: Publish distribution 📦 to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 652d77f..ec2e61a 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -6,21 +6,17 @@ on: jobs: build-n-publish: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - name: Set up Python 3.9 - uses: actions/setup-python@v1 - with: - python-version: 3.9 + - uses: actions/checkout@v4 - name: Install wheel run: python3 -m pip install wheel - name: Build a binary wheel and a source tarball run: python3 setup.py sdist bdist_wheel - name: Publish distribution 📦 to Test PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ skip_existing: true - verbose: true \ No newline at end of file + verbose: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 27bc50a..82277dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.6 + +- Fixed coloring output. Thanks @tomix1024 ! + ## 1.0.5 - Maintenance release. diff --git a/setup.py b/setup.py index f78d85d..f926f92 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ long_description = (here / 'README.md').read_text(encoding='utf-8') setup(name='nvidia-htop', - version='1.0.5', + version='1.0.6', description='A tool for enriching the output of nvidia-smi', long_description=long_description, long_description_content_type='text/markdown',