Skip to content

v0.8.0-beta

v0.8.0-beta #9

name: Upload Python Package to PyPI
on:
release:
types: [released]
permissions:
contents: read
jobs:
build:
uses: ./.github/workflows/python-build.yml
testpypi-publish:
name: Upload release to PyPI
needs: build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/netbox-data-flows
permissions:
id-token: write
steps:
- run: mkdir dist
- uses: actions/download-artifact@v3
with:
name: distributions
path: dist/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1