Skip to content

Commit

Permalink
Added pypi test publish
Browse files Browse the repository at this point in the history
  • Loading branch information
santanusinha committed Apr 5, 2024
1 parent 2b77fe2 commit 4517614
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pypi-test-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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/"

0 comments on commit 4517614

Please sign in to comment.