v1.0.2 #10
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: Publish to PyPI | |
permissions: | |
id-token: write | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
release: | |
name: Build and Publish | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python-versions: [3.12.2] | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-versions }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install poetry | |
- name: Build wheels and source tarball | |
run: >- | |
poetry build | |
- name: show temporary files | |
run: >- | |
ls -l | |
- name: publish to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 |