Skip to content

Commit

Permalink
ci: use code-specialist/pypi-poetry-publish (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 authored Dec 11, 2023
1 parent 2a1c209 commit bdb3241
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release_gen.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Pythonseer build and publish via tag

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
release:
types: [ published ]

jobs:
build-n-publish:
Expand All @@ -23,11 +22,11 @@ jobs:
with:
allowUpdates: true
generateReleaseNotes: true
- name: "🛠 Install and publish with poetry"
run: |
make setup
poetry build
poetry publish
- name: "📦 Publish distribution to PyPI"
uses: code-specialist/pypi-poetry-publish@v1
with:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_REGISTRY_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
- name: "🤖 Announce on lemmy.dbzer0.com"
run: |
python -m pip install pythorhead
Expand Down

0 comments on commit bdb3241

Please sign in to comment.