Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MLAB-project/PyFT260
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-dvorak committed Apr 27, 2024
2 parents dc21b63 + 89196bf commit 0464f5f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Upload Python Package

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

permissions:
contents: read

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ project = "https://www.mlab.cz"
documentation = "https://github.com/MLAB-project/PyFT260"
github = "https://github.com/MLAB-project/PyFT260"
homepage = "https://github.com/MLAB-project/PyFT260"
issues = "https://github.com/MLAB-project/PyFT260/issues"
issues = "https://github.com/MLAB-project/PyFT260/issues"

0 comments on commit 0464f5f

Please sign in to comment.