Skip to content

Commit

Permalink
workflow for automatic release
Browse files Browse the repository at this point in the history
  • Loading branch information
VascoSch92 committed Jan 2, 2024
1 parent 1fea985 commit 55f3085
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: automatic-release

on:
pull_request:
types:
- closed
branches:
- main

jobs:
upload-release-on-pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Upload release
run: |
python setup.py sdist
twine upload dist/* -u __token__ -p {{ secrets.PYPI_PASSWORD }}

0 comments on commit 55f3085

Please sign in to comment.