Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
pswpswpsw committed Feb 20, 2024
1 parent 35ebac7 commit 0129dfa
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release
on:
release:
types:
- published

jobs:
release:
name: Deploy release to PyPI
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.10.13
- name: Install dependencies
run: pip install wheel build
- name: Build package
run: python setup.py sdist bdist_wheel
- name: Upload package
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 0129dfa

Please sign in to comment.