fix error in focused_diameter #2
Workflow file for this run
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: pypi | |
on: # yamllint disable-line rule:truthy | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
environment: | |
name: pypi repository | |
url: https://pypi.org/p/laserbeamsize | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-python@master | |
with: | |
python-version: 3.11 | |
- name: Build | |
run: | | |
pip install setuptools wheel twine build | |
pip install -r requirements.txt | |
python -m build | |
- name: Publish package to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
verbose: true |