diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4b431296..07772688 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,11 +25,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install build - - name: Build package - run: python -m build - - name: Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + pip install setuptools wheel twine + - name: Build and publish + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + python setup.py sdist bdist_wheel + twine upload dist/* \ No newline at end of file diff --git a/setup.py b/setup.py index 560d5ed8..75975776 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( name="marllib", - version="1.0.1", + version="1.0.0", long_description=README, long_description_content_type="text/markdown", packages=find_packages(exclude=["examples", "docs", "tests"]),