Added pypi test publish #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and publish python package to test pypi | |
on: | |
push: | |
# Pattern matched against refs/tags | |
tags: | |
- 'releases/*' # Push events to every tag not containing / | |
jobs: | |
publish-service-client-package: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Publish PyPi package | |
uses: code-specialist/pypi-poetry-publish@v1 | |
with: | |
PACKAGE_DIRECTORY: "./example-package/" | |
PYTHON_VERSION: "3.10" | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
PUBLISH_REGISTRY_PASSWORD: ${{ secrets.PUBLISH_REGISTRY_PASSWORD }} | |
PUBLISH_REGISTRY: "https://test.pypi.org/legacy/" |