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: Upload Python Package to PyPI | ||
on: | ||
release: | ||
types: [released] | ||
permissions: | ||
contents: read | ||
jobs: | ||
build-package: | ||
uses: ./.github/workflows/build-package.yml | ||
publish-pypi: | ||
name: Upload release to PyPI | ||
needs: [build-package] | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/netbox-data-flows | ||
permissions: | ||
id-token: write | ||
steps: | ||
- name: Create staging directory | ||
run: mkdir dist | ||
- name: Fetch build artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: distributions | ||
path: dist/ | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
publish-documentation: | ||
Check failure on line 39 in .github/workflows/publish-pypi.yml GitHub Actions / Upload Python Package to PyPIInvalid workflow file
Check failure on line 39 in .github/workflows/publish-pypi.yml GitHub Actions / Upload Python Package to PyPIInvalid workflow file
|
||
uses: ./.github/workflows/publish-documentation.yml |