Skip to content

Commit

Permalink
pypi deploy updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrolexa committed Dec 14, 2024
1 parent 8bdf8de commit 0da533c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: Upload Python Package
name: PyPi Publisher

on:
workflow_dispatch:
release:
types: [created]
types: [ published ]

jobs:
deploy:
pypi-publisher:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_APIKEY }}
- uses: thevickypedia/pypi-publisher@v3
env:
token: ${{ secrets.PYPI_APIKEY }}
with:
python-version: "3.10"
skip-existing: true

0 comments on commit 0da533c

Please sign in to comment.