Skip to content

Merge pull request #3 from NellyWhads/test_breakdown #5

Merge pull request #3 from NellyWhads/test_breakdown

Merge pull request #3 from NellyWhads/test_breakdown #5

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
tags:
- v*
jobs:
build_wheels:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Poetry
uses: snok/install-poetry@v1.3.4
- name: Build
run: poetry build
- uses: actions/upload-artifact@v3
with:
path: ./dist/*
upload_pypi:
name: Upload to PyPI
needs: [build_wheels]
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true