diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index bf45d0d..f1c64e9 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -21,19 +21,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@master - name: Set up Python uses: actions/setup-python@v3 with: - python-version: '3.x' + python-version: '3.8' - name: Install dependencies run: | python -m pip install --upgrade pip - pip install build + python -m pip install build - name: Build package - run: python -m build + run: python -m build --sdist --wheel --outdir dist - name: Publish package - run: ./publish.sh + uses: pypa/gh-action-pypi-publish@release/v1 with: - user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/setup.py b/setup.py index e5f243f..16ac21d 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="airtouch4pyapi", # Replace with your own username - version="1.0.7", + version="1.0.8", author="Sam Sinnamon", author_email="samsinnamon@hotmail.com", description="An api allowing control of AC state (temperature, on/off, mode) of an Airtouch 4 controller locally over TCP",