Creates a pypi-publish action to publish to pypi after a push #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to PyPi | |
on: push | |
jobs: | |
publish: | |
name: publish | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Build package | |
run: | | |
python -m pip install -U pip build | |
python -m build | |
- name : Publish Flika to PyPI | |
uses: pypa/gh-action-pypi-publish@v1.8.11 |