diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 65821f9..05e20c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,11 +2,12 @@ name: Publish Package to PyPi on: release: types: [published] + jobs: build: runs-on: ubuntu-latest + environment: release permissions: - contents: read id-token: write steps: - uses: actions/checkout@v4 @@ -21,6 +22,9 @@ jobs: - run: source venv/bin/activate - run: pip install setuptools - run: python setup.py sdist - - run: pip wheel . -w dist - - run: python -m pip install --upgrade twine - - run: twine upload dist/* + - run: pip wheel --no-deps . -w dist + - name: Publish package distributions to Test PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: dist/ + verbose: true diff --git a/setup.py b/setup.py index 7a15a37..1c81c94 100644 --- a/setup.py +++ b/setup.py @@ -6,8 +6,8 @@ long_description = (this_directory / "README.md").read_text() setup( - name='flowable.external-worker-client', - packages=find_packages(include=['flowable.external-worker-client']), + name='flowable_external_worker_client', + packages=find_packages(include=['flowable_external_worker_client']), version='1.0.dev1', description='Flowable External Worker Library to connect Python code to Flowable using an external worker.', long_description=long_description,