Skip to content

Commit

Permalink
Update release.yml to publish PyPi package with
Browse files Browse the repository at this point in the history
Python 3.11 and on main branch
  • Loading branch information
gabrielguarisa committed Nov 12, 2023
1 parent 70abc27 commit 94188a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on:
types: [ published ]

jobs:
publish-service-client-package:
publish-release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Publish PyPi package
uses: code-specialist/pypi-poetry-publish@v1
with:
PYTHON_VERSION: "3.11"
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_REGISTRY_PASSWORD: ${{ secrets.PYPI_TOKEN }}
PUBLISH_REGISTRY_PASSWORD: ${{ secrets.PYPI_TOKEN }}
BRANCH: main

0 comments on commit 94188a4

Please sign in to comment.