Skip to content

Commit

Permalink
add release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
daler committed Apr 20, 2024
1 parent 0216105 commit 954431c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on: workflow_dispatch
jobs:
publish-pypi:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/trackhub
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Build
run: |
pip install build
python -m build --sdist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
File renamed without changes.

0 comments on commit 954431c

Please sign in to comment.