Skip to content

Commit

Permalink
Create poetry.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gingershaped authored Jun 23, 2022
1 parent 55e47ae commit 7e667c6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/poetry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Upload Python Package

on:
release:
types: [published]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Publish python poetry package
# You may pin to the exact commit or the version.
# uses: JRubics/poetry-publish@0f571e7f0320737205a74472dbd089c1263e171f
uses: JRubics/[email protected]
with:
# API token to authenticate when uploading package to PyPI (https://pypi.org/manage/account/) or TestPyPI (https://test.pypi.org/manage/account/)
pypi_token: ${{ secrets.PYPI_TOKEN }}
ignore_dev_requirements: true

0 comments on commit 7e667c6

Please sign in to comment.