Skip to content

Commit

Permalink
Update publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lonelyteapot authored Jul 24, 2022
1 parent 4645db0 commit 5265475
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Upload Python Package
name: Publish Release

on:
release:
Expand All @@ -9,16 +9,14 @@ permissions:

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Poetry
run: pipx install poetry==1.2.0b2
run: pipx install poetry==1.2.0b3
- name: Install dynamic versioning plugin
run: poetry self add poetry-dynamic-versioning-plugin
- name: Install Python
Expand All @@ -34,4 +32,4 @@ jobs:
- name: Show the current package version
run: poetry version
- name: Publish the package to PyPI
run: poetry publish -u "__token__" -p "${{ secrets.PYPI_API_TOKEN }}"
run: poetry publish --build -u "__token__" -p "${{ secrets.PYPI_API_TOKEN }}"

0 comments on commit 5265475

Please sign in to comment.