Skip to content

docs: add troubleshooting guide #3

docs: add troubleshooting guide

docs: add troubleshooting guide #3

Workflow file for this run

name: Release
on:
push:
tags: ['v*']
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install build twine
- run: python -m build
- run: twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
- name: Generate SBOM
run: |
pip install cyclonedx-bom
cyclonedx-py environment --output-format json -o sbom.cdx.json 2>/dev/null || true
- uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
sbom.cdx.json