diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0bfc316..c56d357 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,20 +1,6 @@ -name: Build and publish python package - -on: - release: - types: [ published ] - -jobs: - publish-service-client-package: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: Publish PyPi package - uses: code-specialist/pypi-poetry-publish@v1 - with: - ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PUBLISH_REGISTRY_PASSWORD: ${{ secrets.PYPI_TOKEN }} - PUBLISH_REGISTRY: "https://test.pypi.org/simple/" - BRANCH: "main" - POETRY_VERSION: "1.1.7" +- name: Build and publish to pypi + uses: JRubics/poetry-publish@v2.0 + with: + pypi_token: ${{ secrets.PYPI_TOKEN }} + repository_name: "tetris-gymnasium" + repository_url: "https://test.pypi.org/simple/" diff --git a/__init__.py b/__init__.py deleted file mode 100644 index 8e4032f..0000000 --- a/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__='0.1.0'